Skip to content

Commit

Permalink
method getServiceContainer should be static to allow usage in other s…
Browse files Browse the repository at this point in the history
…tatic methods
  • Loading branch information
esler committed Apr 26, 2019
1 parent cad27c8 commit fa46760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPUnit/ServiceContainerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public function ServiceContainer(string $method): array {
*
* @return ServiceContainer
*/
abstract protected function getServiceContainer(): ServiceContainer;
abstract protected static function getServiceContainer(): ServiceContainer;

}

0 comments on commit fa46760

Please sign in to comment.