Completed
Branch master (4327f8)
by Agel_Nash
07:05 queued 02:59
created
assets/lib/MODxAPI/modUsers.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @param $data
51
-     * @return bool|string
50
+     * @param string $data
51
+     * @return string|false
52 52
      */
53 53
     protected function findUser($data)
54 54
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @param $key
101
+     * @param string $key
102 102
      * @param $value
103 103
      * @return $this
104 104
      */
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
     /**
303 303
      * @param $id
304 304
      * @param $password
305
-     * @param $blocker
305
+     * @param boolean $blocker
306 306
      * @param null $fire_events
307 307
      * @return bool
308 308
      */
@@ -384,7 +384,8 @@  discard block
 block discarded – undo
384 384
      * Starts the user session on login success. Destroys session on error or logout.
385 385
      *
386 386
      * @param string $directive ('start' or 'destroy')
387
-     * @return void
387
+     * @param string $cookieName
388
+     * @return modUsers
388 389
      * @author Raymond Irving
389 390
      * @author Scotty Delicious
390 391
      *
Please login to merge, or discard this patch.
assets/lib/MODxAPI/MODx.php 1 patch
Doc Comments   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * @param $email
14 14
      * @param bool $dns
15
-     * @return bool
15
+     * @return false|string
16 16
      */
17 17
     public function emailValidate($email, $dns = true)
18 18
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-     * @param $flag
109
+     * @param boolean $flag
110 110
      * @return $this
111 111
      */
112 112
     public function setDebug($flag)
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @param $name
136
+     * @param string $name
137 137
      * @param null $default
138 138
      * @return mixed
139 139
      */
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-     * @param $name
195
+     * @param string $name
196 196
      * @param array $data
197 197
      * @param bool $flag
198 198
      * @return $this
@@ -208,9 +208,9 @@  discard block
 block discarded – undo
208 208
     }
209 209
 
210 210
     /**
211
-     * @param $name
211
+     * @param string $name
212 212
      * @param array $data
213
-     * @param null $flag
213
+     * @param boolean $flag
214 214
      * @return array|bool
215 215
      */
216 216
     final public function getInvokeEventResult($name, $data = array(), $flag = null)
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     }
268 268
 
269 269
     /**
270
-     * @param null $fire_events
270
+     * @param null|boolean $fire_events
271 271
      * @param bool $custom
272 272
      */
273 273
     final public function clearCache($fire_events = null, $custom = false)
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
     }
310 310
 
311 311
     /**
312
-     * @param $id
312
+     * @param integer $id
313 313
      * @return MODxAPI
314 314
      */
315 315
     public function switchObject($id)
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
     /**
431 431
      * @param $IDs
432 432
      * @param string $sep
433
-     * @param array $ignore
433
+     * @param integer[] $ignore
434 434
      * @return array
435 435
      * @throws Exception
436 436
      */
@@ -601,8 +601,8 @@  discard block
 block discarded – undo
601 601
     }
602 602
 
603 603
     /**
604
-     * @param $table
605
-     * @param $field
604
+     * @param string $table
605
+     * @param string $field
606 606
      * @param string $PK
607 607
      * @return bool
608 608
      */
@@ -712,7 +712,7 @@  discard block
 block discarded – undo
712 712
     }
713 713
 
714 714
     /**
715
-     * @param $version
715
+     * @param string $version
716 716
      * @param bool $dmi3yy
717 717
      * @return bool
718 718
      */
@@ -735,7 +735,7 @@  discard block
 block discarded – undo
735 735
     }
736 736
 
737 737
     /**
738
-     * @param $name
738
+     * @param string $name
739 739
      * @return bool|mixed
740 740
      */
741 741
     protected function eraseField($name)
@@ -817,7 +817,7 @@  discard block
 block discarded – undo
817 817
 
818 818
     /**
819 819
      * Получить список не запакованных полей
820
-     * @return array
820
+     * @return DLCollection
821 821
      */
822 822
     public function getNoEncodeFields()
823 823
     {
@@ -828,7 +828,7 @@  discard block
 block discarded – undo
828 828
 
829 829
     /**
830 830
      * Получить список не распакованных полей
831
-     * @return array
831
+     * @return DLCollection
832 832
      */
833 833
     public function getNoDecodeFields()
834 834
     {
@@ -904,7 +904,7 @@  discard block
 block discarded – undo
904 904
      * Запаковывает конкретное поле в JSON
905 905
      * @param  string $field Имя поля
906 906
      * @param  bool $store обновить запакованное поле
907
-     * @return array json строка
907
+     * @return string|null json строка
908 908
      */
909 909
     public function encodeField($field, $store = false)
910 910
     {
Please login to merge, or discard this patch.