Completed
Push — 2.1 ( 12c46d...310f3d )
by Yo!
06:24 queued 03:22
created
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.
src/Core/ContentManager/Permalink/PermalinkGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -214,6 +214,9 @@
 block discarded – undo
214 214
         return false;
215 215
     }
216 216
 
217
+    /**
218
+     * @param string $template
219
+     */
217 220
     private function templateNeedsDate($template)
218 221
     {
219 222
         return strpos($template, ':year') !== false
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
@@ -141,7 +141,6 @@  discard block
 block discarded – undo
141 141
     /**
142 142
      * Gets metas of a plugin.
143 143
      *
144
-     * @param string                                        $filename The plugin filename.
145 144
      * @param \Yosymfony\Spress\Core\Plugin\PluginInterface $plugin   The plugin.
146 145
      *
147 146
      * @return array
@@ -205,7 +204,7 @@  discard block
 block discarded – undo
205 204
     /**
206 205
      * Gets the attribute resolver.
207 206
      *
208
-     * @return \Yosymfony\Spress\Core\Support\AttributesResolver\AttributesResolver
207
+     * @return AttributesResolver
209 208
      */
210 209
     protected function getResolver()
211 210
     {
Please login to merge, or discard this patch.
src/Core/Configuration/Configuration.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@  discard block
 block discarded – undo
100 100
         return $result;
101 101
     }
102 102
 
103
+    /**
104
+     * @param string $sitePath
105
+     */
103 106
     private function loadEnvironmentConfiguration($sitePath, $env)
104 107
     {
105 108
         $filename = $this->getConfigEnvFilename($env);
@@ -133,6 +136,9 @@  discard block
 block discarded – undo
133 136
         return $filename;
134 137
     }
135 138
 
139
+    /**
140
+     * @param string $sitePath
141
+     */
136 142
     private function isSpressSite($sitePath)
137 143
     {
138 144
         return file_exists($sitePath.'/'.$this->configFilename);
Please login to merge, or discard this patch.
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.