Provide default impl for abstract method in interface for PHP < 5.3.9 (#8837)
parent
d173af2d7a
commit
994a5b41c2
|
@ -45,7 +45,10 @@ abstract class SolverOperation implements OperationInterface
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $lock bool Whether this is an operation on the lock file
|
* @param $lock bool Whether this is an operation on the lock file
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
abstract public function show($lock);
|
public function show($lock)
|
||||||
|
{
|
||||||
|
throw new \RuntimeException('abstract method needs to be implemented in subclass, not marked abstract for compatibility with PHP <= 5.3.8');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue