Completed
Branch master (5ee980)
by Vladimir
04:05
created
src/Object/Configuration.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * Configuration constructor.
35 35
      *
36 36
      * @param string                                $configFile
37
-     * @param ConsoleInterface|OutputInterface|null $output
37
+     * @param ConsoleInterface $output
38 38
      */
39 39
     public function __construct($configFile, $output = null)
40 40
     {
@@ -83,11 +83,17 @@  discard block
 block discarded – undo
83 83
         return $base;
84 84
     }
85 85
 
86
+    /**
87
+     * @return string[]
88
+     */
86 89
     public function getDataFolders ()
87 90
     {
88 91
         return $this->returnConfigOption('data');
89 92
     }
90 93
 
94
+    /**
95
+     * @return string[]
96
+     */
91 97
     public function getDataSets ()
92 98
     {
93 99
         return $this->returnConfigOption('datasets');
@@ -133,6 +139,9 @@  discard block
 block discarded – undo
133 139
         return $this->configuration['twig']['autoescape'];
134 140
     }
135 141
 
142
+    /**
143
+     * @param string $name
144
+     */
136 145
     private function returnConfigOption ($name, $default = null)
137 146
     {
138 147
         return (isset($this->configuration[$name]) ? $this->configuration[$name] : $default);
Please login to merge, or discard this patch.
src/System/FileSystem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -140,6 +140,9 @@
 block discarded – undo
140 140
         return pathinfo($filename, PATHINFO_EXTENSION);
141 141
     }
142 142
 
143
+    /**
144
+     * @param string $folderPath
145
+     */
143 146
     public function isDir ($folderPath)
144 147
     {
145 148
         return is_dir($folderPath);
Please login to merge, or discard this patch.
src/System/Folder.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -62,6 +62,10 @@  discard block
 block discarded – undo
62 62
         }
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $absolutePath
67
+     * @param string $targetPath
68
+     */
65 69
     public function copyFile ($absolutePath, $targetPath)
66 70
     {
67 71
         $targetPath = ltrim($targetPath, DIRECTORY_SEPARATOR);
@@ -73,6 +77,10 @@  discard block
 block discarded – undo
73 77
         );
74 78
     }
75 79
 
80
+    /**
81
+     * @param string $targetPath
82
+     * @param string $fileContent
83
+     */
76 84
     public function writeFile ($targetPath, $fileContent)
77 85
     {
78 86
         $outputFolder   = $this->fs->getFolderPath($targetPath);
@@ -98,6 +106,9 @@  discard block
 block discarded – undo
98 106
         ));
99 107
     }
100 108
 
109
+    /**
110
+     * @param string $pathFragments
111
+     */
101 112
     private function buildPath ($pathFragments)
102 113
     {
103 114
         $paths = func_get_args();
Please login to merge, or discard this patch.
src/Twig/TextFilter.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.