Commit 4fca204c authored by catch's avatar catch
Browse files

Issue #3386233 by yash.rode, cmlara: Returntype incorrect for UnitTestCase::getConfigFactoryStub()

(cherry picked from commit dcd0ec71)
parent 1d012fca
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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 = [];