Completed
Push — master ( 2c6719...58280f )
by Gaetano
11:02
created
Core/DefinitionParser/PHPDefinitionParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         );
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $fileName
95
+     */
93 96
     protected function getClassNameFromFile($fileName)
94 97
     {
95 98
         $parts = explode('_', pathinfo($fileName, PATHINFO_FILENAME), 2);
Please login to merge, or discard this patch.
Core/Executor/ContentTypeManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
      * @throws \InvalidArgumentException When trying to set
180 180
      *
181 181
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
182
-     * @return boolean
182
+     * @return false|null
183 183
      */
184 184
     protected function setReferences($contentType)
185 185
     {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -393,8 +393,7 @@
 block discarded – undo
393 393
                     $ret[$key] = $this->referenceResolver->getReferenceValue($val);
394 394
                 }
395 395
             }
396
-        }
397
-        else {
396
+        } else {
398 397
             $ret = $value;
399 398
 
400 399
             if ($this->referenceResolver->isReference($value)) {
Please login to merge, or discard this patch.
Core/Loader/Filesystem.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,7 @@
 block discarded – undo
85 85
                             );
86 86
                     }
87 87
                 }
88
-            }
89
-            else {
88
+            } else {
90 89
                 throw new \Exception("Path '$path' is neither a file nor directory");
91 90
             }
92 91
         }
Please login to merge, or discard this patch.
Core/ComplexField/ComplexFieldManager.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
         {
33 33
             $fieldService = $this->fieldTypeMap[$fieldTypeIdentifier];
34 34
             return $fieldService->createValue($fieldValueArray, $context);
35
-        }
36
-        else
35
+        } else
37 36
         {
38 37
             throw new \InvalidArgumentException("Field of type '$fieldTypeIdentifier' can not be handled as it does not have a complex field class defined");
39 38
         }
Please login to merge, or discard this patch.
Core/MigrationService.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @param Migration $migration
98 97
      */
99 98
     public function addMigration(MigrationDefinition $migrationDefinition)
100 99
     {
Please login to merge, or discard this patch.
Core/StorageHandler/Database.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Creates and stores a new migration (leaving it in TODO status)
100 100
      * @param MigrationDefinition $migrationDefinition
101
-     * @return mixed
101
+     * @return Migration
102 102
      * @throws \Exception If the migration exists already (we rely on the PK for that)
103 103
      */
104 104
     public function addMigration(MigrationDefinition $migrationDefinition)
Please login to merge, or discard this patch.