Completed
Push — develop ( dc55c3...b0abe3 )
by Serg
06:10
created
manager/includes/functions/actions/files.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 if(!function_exists('removeLastPath')) {
189 189
     /**
190 190
      * @param string $string
191
-     * @return bool|string
191
+     * @return string|false
192 192
      */
193 193
     function removeLastPath($string)
194 194
     {
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 if(!function_exists('getExtension')) {
207 207
     /**
208 208
      * @param string $string
209
-     * @return bool|string
209
+     * @return string|false
210 210
      *
211 211
      * @TODO: not work if $string contains folder name with dot
212 212
      */
Please login to merge, or discard this patch.
manager/includes/src/Interfaces/CoreInterface.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@  discard block
 block discarded – undo
3 3
 interface CoreInterface
4 4
 {
5 5
     /**
6
-     * @param $type
7
-     * @param $scanPath
8
-     * @param array $ext
6
+     * @param string $type
7
+     * @param string $scanPath
8
+     * @param string[] $ext
9 9
      *
10 10
      * @return array
11 11
      *
@@ -18,6 +18,7 @@  discard block
 block discarded – undo
18 18
      * @param string $phpCode
19 19
      * @param string $namespace
20 20
      * @param array defaultParams
21
+     * @return void
21 22
      */
22 23
     public function addSnippet($name, $phpCode, $namespace = '#', array $defaultParams = array());
23 24
 
@@ -25,6 +26,7 @@  discard block
 block discarded – undo
25 26
      * @param string $name
26 27
      * @param string $text
27 28
      * @param string $namespace
29
+     * @return void
28 30
      */
29 31
     public function addChunk($name, $text, $namespace = '#');
30 32
 }
Please login to merge, or discard this patch.