Completed
Push — develop ( 0b7a4b...0c91f3 )
by Agel_Nash
06:09
created
install/cli-install.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      * duplicate of method in documentParser class
131 131
      *
132 132
      * @param string $propertyString
133
-     * @return array
133
+     * @return string
134 134
      */
135 135
     function parseProperties($propertyString) {
136 136
         $parameter= array ();
Please login to merge, or discard this patch.
manager/includes/extenders/modifiers.class.inc.php 1 patch
Doc Comments   +25 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     /**
95 95
      * @param string $mode
96 96
      * @param string $modifiers
97
-     * @return bool|string
97
+     * @return false|string
98 98
      */
99 99
     public function _getDelim($mode,$modifiers) {
100 100
         $c = substr($modifiers,0,1);
@@ -131,6 +131,14 @@  discard block
 block discarded – undo
131 131
             return $opt;
132 132
         }
133 133
     }
134
+
135
+    /**
136
+     * @param string $mode
137
+     * @param false|string $delim
138
+     * @param string $modifiers
139
+     *
140
+     * @return string
141
+     */
134 142
     public function _getRemainModifiers($mode,$delim,$modifiers) {
135 143
         if($delim) {
136 144
             if($mode=='(')
@@ -158,6 +166,9 @@  discard block
 block discarded – undo
158 166
         return substr($string,strpos($string, $delim)+$len);
159 167
     }
160 168
 
169
+    /**
170
+     * @param string $modifiers
171
+     */
161 172
     public function splitEachModifiers($modifiers) {
162 173
         $modx = evolutionCMS();
163 174
 
@@ -227,6 +238,9 @@  discard block
 block discarded – undo
227 238
         return $result;
228 239
     }
229 240
 
241
+    /**
242
+     * @param string $key
243
+     */
230 244
     public function parsePhx($key,$value,$modifiers)
231 245
     {
232 246
         $modx = evolutionCMS();
@@ -293,6 +307,9 @@  discard block
 block discarded – undo
293 307
         else                  return true;
294 308
     }
295 309
 
310
+    /**
311
+     * @param string $cmd
312
+     */
296 313
     public function getValueFromPreset($key, $value, $cmd, $opt)
297 314
     {
298 315
         $modx = evolutionCMS();
@@ -978,6 +995,9 @@  discard block
 block discarded – undo
978 995
         return $value;
979 996
     }
980 997
 
998
+    /**
999
+     * @param string $cmd
1000
+     */
981 1001
     public function includeMdfFile($cmd) {
982 1002
         $modx = evolutionCMS();
983 1003
         $key = $this->key;
@@ -1133,6 +1153,10 @@  discard block
 block discarded – undo
1133 1153
     }
1134 1154
 
1135 1155
     // Sets a placeholder variable which can only be access by Modifiers
1156
+
1157
+    /**
1158
+     * @param string $value
1159
+     */
1136 1160
     public function setModifiersVariable($key, $value) {
1137 1161
         if ($key != 'phx' && $key != 'dummy') $this->placeholders[$key] = $value;
1138 1162
     }
Please login to merge, or discard this patch.