Jordi Boggiano 9 éve
szülő
commit
d8840df4ac
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/Composer/Util/Perforce.php

+ 1 - 1
src/Composer/Util/Perforce.php

@@ -64,7 +64,7 @@ class Perforce
     public function initialize($repoConfig)
     {
         $this->uniquePerforceClientName = $this->generateUniquePerforceClientName();
-        if (null === $repoConfig) {
+        if (!$repoConfig) {
             return;
         }
         if (isset($repoConfig['unique_perforce_client_name'])) {