Completed
Push — master ( c8e4a8...b92c5e )
by Gaetano
10:34
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 1 patch
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.
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.
Tests/phpunit/1_GenerateTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@  discard block
 block discarded – undo
48 48
         $this->checkGeneratedFile($this->saveGeneratedFile($output));
49 49
     }
50 50
 
51
+    /**
52
+     * @param null|string $output
53
+     */
51 54
     protected function saveGeneratedFile($output)
52 55
     {
53 56
 var_dump($output);
@@ -59,6 +62,9 @@  discard block
 block discarded – undo
59 62
         return null;
60 63
     }
61 64
 
65
+    /**
66
+     * @param string|null $filePath
67
+     */
62 68
     protected function checkGeneratedFile($filePath)
63 69
     {
64 70
         $input = new ArrayInput(array('command' => 'kaliop:migration:status'));
Please login to merge, or discard this patch.