Completed
Pull Request — master (#23)
by Shestakov
06:47
created
Source/Ice/Helper/File.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Save data into file
32 32
      *
33
-     * @param  $path
33
+     * @param  string|null $path
34 34
      * @param  $data
35 35
      * @param  bool $phpData
36 36
      * @param  int $file_put_contents_flag
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Rename/move file
95 95
      *
96
-     * @param $from
97
-     * @param $to
96
+     * @param null|string $from
97
+     * @param null|string $to
98 98
      *
99 99
      * @author dp <[email protected]>
100 100
      *
@@ -112,12 +112,13 @@  discard block
 block discarded – undo
112 112
      * Copy file
113 113
      *
114 114
      * @param $from
115
-     * @param $to
115
+     * @param string $to
116 116
      *
117 117
      * @author dp <[email protected]>
118 118
      *
119 119
      * @version 0.2
120 120
      * @since   0.2
121
+     * @return string
121 122
      */
122 123
     public static function copy($from, $to)
123 124
     {
Please login to merge, or discard this patch.
Source/Ice/Helper/Http.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Return content type header by file extension
83 83
      *
84
-     * @param  $extension
84
+     * @param  string $extension
85 85
      * @return string
86 86
      *
87 87
      * @author dp <[email protected]>
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * Return content type header by file extension
102 102
      *
103
-     * @param  $length
103
+     * @param  integer $length
104 104
      * @return string
105 105
      *
106 106
      * @author dp <[email protected]>
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Gets content via http
140 140
      *
141
-     * @param  $url
141
+     * @param  string $url
142 142
      * @return string
143 143
      *
144 144
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Source/Ice/Helper/Logger.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * @param \Exception $exception
125 125
      * @param $output
126 126
      *
127
-     * @param $class
127
+     * @param string $class
128 128
      * @throws \Exception
129 129
      * @author dp <[email protected]>
130 130
      *
Please login to merge, or discard this patch.
Source/Ice/Helper/Serializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * Unserialize with known serializer
92 92
      *
93
-     * @param  mixed $data
93
+     * @param  string $data
94 94
      * @param  string $serializer
95 95
      * @throws Exception
96 96
      * @return string
Please login to merge, or discard this patch.
Source/Ice/Helper/String.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Trim with some chars
35 35
      *
36
-     * @param  $string
37
-     * @param  null $chars
38
-     * @param  string $type
36
+     * @param  string $string
37
+     * @param  string[] $chars
38
+     * @param  string string
39 39
      * @return string
40 40
      * @throws Exception
41 41
      *
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * Return random string
126 126
      *
127 127
      * @param  int $length
128
-     * @param array $blocks
128
+     * @param integer $blocks
129 129
      * @return string
130 130
      * @author dp <[email protected]>
131 131
      *
Please login to merge, or discard this patch.
Source/Ice/Helper/Vcs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * Init local repository
33 33
      *
34 34
      * @param $vcs
35
-     * @param $dir
35
+     * @param string $dir
36 36
      *
37 37
      * @author dp <[email protected]>
38 38
      *
Please login to merge, or discard this patch.
Source/Ice/Render/Replace.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param  array $data
57 57
      * @param null $layout
58 58
      * @param string $templateType
59
-     * @return mixed
59
+     * @return string
60 60
      * @throws \Exception
61 61
      * @author dp <[email protected]>
62 62
      *
Please login to merge, or discard this patch.
Source/Ice/Render/Smarty.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,9 +91,9 @@
 block discarded – undo
91 91
      *
92 92
      * @param string $template
93 93
      * @param  array $data
94
-     * @param null $layout
94
+     * @param string|null $layout
95 95
      * @param string $templateType
96
-     * @return mixed
96
+     * @return null|string
97 97
      * @throws \Exception
98 98
      * @author dp <[email protected]>
99 99
      *
Please login to merge, or discard this patch.
Source/Ice/Render/Twig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      * @param  array $data
78 78
      * @param null $layout
79 79
      * @param string $templateType
80
-     * @return mixed
80
+     * @return string|null
81 81
      * @throws \Exception
82 82
      * @author dp <[email protected]>
83 83
      *
Please login to merge, or discard this patch.