Loading core/tests/Drupal/Tests/UnitTestCase.php +2 −3 Original line number Diff line number Diff line Loading @@ -85,9 +85,8 @@ public function __get(string $name) { * configuration object names and whose values are key => value arrays for * the configuration object in question. Defaults to an empty array. * * @return \PHPUnit\Framework\MockObject\MockBuilder * A MockBuilder object for the ConfigFactory with the desired return * values. * @return \PHPUnit\Framework\MockObject\MockObject|\Drupal\Core\Config\ConfigFactoryInterface * A mock configuration factory object. */ public function getConfigFactoryStub(array $configs = []) { $config_get_map = []; Loading Loading
core/tests/Drupal/Tests/UnitTestCase.php +2 −3 Original line number Diff line number Diff line Loading @@ -85,9 +85,8 @@ public function __get(string $name) { * configuration object names and whose values are key => value arrays for * the configuration object in question. Defaults to an empty array. * * @return \PHPUnit\Framework\MockObject\MockBuilder * A MockBuilder object for the ConfigFactory with the desired return * values. * @return \PHPUnit\Framework\MockObject\MockObject|\Drupal\Core\Config\ConfigFactoryInterface * A mock configuration factory object. */ public function getConfigFactoryStub(array $configs = []) { $config_get_map = []; Loading