Completed
Branch master (740422)
by Mathieu
02:04
created
src/Suricate/Collection.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -305,6 +305,9 @@  discard block
 block discarded – undo
305 305
         return array_search($value, $this->items, $strict);
306 306
     }
307 307
 
308
+    /**
309
+     * @param string $key
310
+     */
308 311
     public function has($key)
309 312
     {
310 313
         return $this->offsetExists($key);
@@ -322,6 +325,9 @@  discard block
 block discarded – undo
322 325
         return $this;
323 326
     }
324 327
 
328
+    /**
329
+     * @param Collection $item
330
+     */
325 331
     public function push($item)
326 332
     {
327 333
         $this->items[] = $item;
Please login to merge, or discard this patch.
src/Suricate/DBObject.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
         }
81 81
     }
82 82
     
83
+    /**
84
+     * @param string $name
85
+     */
83 86
     private function getDBVariable($name)
84 87
     {
85 88
         if (isset($this->dbValues[$name])) {
@@ -89,6 +92,9 @@  discard block
 block discarded – undo
89 92
         }
90 93
     }
91 94
 
95
+    /**
96
+     * @param string $name
97
+     */
92 98
     private function getProtectedVariable($name)
93 99
     {
94 100
         // Variable exists, and is already loaded
@@ -110,6 +116,9 @@  discard block
 block discarded – undo
110 116
         }
111 117
     }
112 118
 
119
+    /**
120
+     * @param string $name
121
+     */
113 122
     private function getRelation($name)
114 123
     {
115 124
         if (isset($this->relationValues[$name]) && $this->isRelationLoaded($name)) {
@@ -434,6 +443,9 @@  discard block
 block discarded – undo
434 443
         return $obj;
435 444
     }
436 445
     
446
+    /**
447
+     * @param string $sql
448
+     */
437 449
     public function loadFromSql($sql, $sql_params = array())
438 450
     {
439 451
         $this->connectDB();
Please login to merge, or discard this patch.
src/Suricate/Error.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
         'httpHandler'
12 12
         );
13 13
 
14
+    /**
15
+     * @param ErrorException $e
16
+     */
14 17
     public static function handleException($e, $context = null)
15 18
     {
16 19
         if ($e instanceof Exception\HttpException) {
Please login to merge, or discard this patch.
src/Suricate/FormItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
         return in_array($name, $this->objectHtmlProperties);
60 60
     }
61 61
 
62
+    /**
63
+     * @param string $type
64
+     */
62 65
     public static function input($type, $name, $value = null, $label = null, $htmlAttributes = array())
63 66
     {
64 67
         $itemData           = array();
Please login to merge, or discard this patch.
src/Suricate/I18n.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
         return $langList;
43 43
     }
44 44
 
45
+    /**
46
+     * @param string $locale
47
+     */
45 48
     public function load($locale = null)
46 49
     {
47 50
         $filename    = app_path() . DIRECTORY_SEPARATOR
Please login to merge, or discard this patch.
src/Suricate/ImageFont.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
 
73 73
     }
74 74
 
75
+    /**
76
+     * @param resource $image
77
+     */
75 78
     public function apply(&$image, $x = 0, $y = 0)
76 79
     {
77 80
         $colorResource = $this->createColor($image);
Please login to merge, or discard this patch.