Completed
Pull Request — master (#41)
by Vladimir
04:25
created
src/allejo/stakx/FrontMatter/FrontMatterParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
      *
198 198
      * @param string $frontMatterKey     The current hierarchy of the Front Matter keys being used
199 199
      * @param string $expandableValue    The Front Matter value that will be expanded
200
-     * @param array  $arrayVariableNames The Front Matter variable names that reference arrays
200
+     * @param string[]  $arrayVariableNames The Front Matter variable names that reference arrays
201 201
      *
202 202
      * @throws YamlUnsupportedVariableException If a multidimensional array is given for value expansion
203 203
      *
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/PageManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      *
67 67
      * @since 0.1.0
68 68
      *
69
-     * @return PageView[][]
69
+     * @return PageView[]
70 70
      */
71 71
     public function getAllPageViews()
72 72
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Object/Configuration.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * @TODO 1.0.0 Remove support for 'base' in next major release; it has been replaced by 'baseurl'
99 99
      *
100
-     * @return mixed|null
100
+     * @return string
101 101
      */
102 102
     public function getBaseUrl()
103 103
     {
@@ -168,6 +168,9 @@  discard block
 block discarded – undo
168 168
         return $this->configuration['twig']['autoescape'];
169 169
     }
170 170
 
171
+    /**
172
+     * @return string|false
173
+     */
171 174
     public function getRedirectTemplate()
172 175
     {
173 176
         return $this->configuration['templates']['redirect'];
Please login to merge, or discard this patch.
src/allejo/stakx/Object/FrontMatterObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
     /**
175 175
      * Get the original file path.
176 176
      *
177
-     * @return string
177
+     * @return SplFileInfo
178 178
      */
179 179
     final public function getFilePath()
180 180
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Object/Website.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -349,6 +349,9 @@  discard block
 block discarded – undo
349 349
         $this->noClean = $noClean;
350 350
     }
351 351
 
352
+    /**
353
+     * @param string $filePath
354
+     */
352 355
     private function creationWatcher($filePath)
353 356
     {
354 357
         $this->output->writeln(sprintf('File creation detected: %s', $filePath));
@@ -390,6 +393,9 @@  discard block
 block discarded – undo
390 393
         }
391 394
     }
392 395
 
396
+    /**
397
+     * @param string $filePath
398
+     */
393 399
     private function modificationWatcher($filePath)
394 400
     {
395 401
         $this->output->writeln(sprintf('File change detected: %s', $filePath));
Please login to merge, or discard this patch.
src/allejo/stakx/Twig/TextExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Returns a list of filters.
17 17
      *
18
-     * @return array
18
+     * @return Twig_SimpleFilter[]
19 19
      */
20 20
     public function getFilters()
21 21
     {
Please login to merge, or discard this patch.