Passed
Push — master ( 58f736...13e699 )
by Yo!
08:12 queued 04:16
created
src/Scaffolding/Generator.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Set a list of directories.
32 32
      *
33
-     * @param array $value
33
+     * @param string[] $value
34 34
      */
35 35
     public function setSkeletonDirs(array $value)
36 36
     {
@@ -57,6 +57,10 @@  discard block
 block discarded – undo
57 57
         return new \Twig_Environment($loader, $options);
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $template
62
+     * @param string $target
63
+     */
60 64
     protected function renderFile($template, $target, $model)
61 65
     {
62 66
         if (!is_dir(dirname($target))) {
Please login to merge, or discard this patch.
src/Core/DataSource/Filesystem/FilesystemDataSource.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -269,6 +269,10 @@  discard block
 block discarded – undo
269 269
         $item->setAttributes($attributes);
270 270
     }
271 271
 
272
+    /**
273
+     * @param string $extension
274
+     * @param string $relativePath
275
+     */
272 276
     private function avoidRenderizer($extension, $relativePath)
273 277
     {
274 278
         $strPath = new StringWrapper($relativePath);
@@ -340,6 +344,9 @@  discard block
 block discarded – undo
340 344
         return $resolver;
341 345
     }
342 346
 
347
+    /**
348
+     * @param string $path
349
+     */
343 350
     private function composeSubPath($path)
344 351
     {
345 352
         return $this->params['source_root'].'/'.$path;
Please login to merge, or discard this patch.
src/Core/DataSource/ItemInterface.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param string $name The name of the collection
58 58
      *
59 59
      * @throws RuntimeException If invalid collection name
60
+     * @return void
60 61
      */
61 62
     public function setCollection($name);
62 63
 
@@ -80,8 +81,9 @@  discard block
 block discarded – undo
80 81
     /**
81 82
      * Set the compiled content.
82 83
      *
83
-     * @param $content Mixed The compiled content
84
+     * @param string $content Mixed The compiled content
84 85
      * @param $snapshotName The name of the snapshot. The snapshot "last" is not valid
86
+     * @return void
85 87
      */
86 88
     public function setContent($content, $snapshotName);
87 89
 
@@ -95,7 +97,8 @@  discard block
 block discarded – undo
95 97
     /**
96 98
      * Set the attributes of this item.
97 99
      *
98
-     * @param array $value
100
+     * @param array $values
101
+     * @return void
99 102
      */
100 103
     public function setAttributes(array $values);
101 104
 
@@ -120,6 +123,7 @@  discard block
 block discarded – undo
120 123
      *
121 124
      * @param string $value e.g: "index.html" or "my-page/index.html"
122 125
      * @param $snapshotName The name of the snapshot. The snapshot "last" is not valid
126
+     * @return void
123 127
      */
124 128
     public function setPath($value, $snapshotName);
125 129
 
Please login to merge, or discard this patch.
src/Core/Plugin/PluginManagerBuilder.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,6 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * Gets metas of a plugin.
148 148
      *
149
-     * @param string                                        $filename The plugin filename
150 149
      * @param \Yosymfony\Spress\Core\Plugin\PluginInterface $plugin   The plugin
151 150
      *
152 151
      * @return array
@@ -210,7 +209,7 @@  discard block
 block discarded – undo
210 209
     /**
211 210
      * Gets the attribute resolver.
212 211
      *
213
-     * @return \Yosymfony\Spress\Core\Support\AttributesResolver\AttributesResolver
212
+     * @return AttributesResolver
214 213
      */
215 214
     protected function getResolver()
216 215
     {
Please login to merge, or discard this patch.
src/IO/ConsoleIO.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Constructor.
32 32
      *
33
-     * @param Symfony\Component\Console\Input\InputInterface   $input  Input operations
34
-     * @param Symfony\Component\Console\Output\OutputInterface $output Ouputs operations
33
+     * @param InputInterface   $input  Input operations
34
+     * @param OutputInterface $output Ouputs operations
35 35
      */
36 36
     public function __construct(InputInterface $input, OutputInterface $output)
37 37
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * Formats a success result bar.
146 146
      *
147
-     * @param string|array $message
147
+     * @param string $message
148 148
      */
149 149
     public function success($message)
150 150
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Formats an warning result bar.
166 166
      *
167
-     * @param string|array $message
167
+     * @param string $message
168 168
      */
169 169
     public function warning($message)
170 170
     {
Please login to merge, or discard this patch.