Completed
Push — master ( 935bc7...c2ccbb )
by Joram van den
05:27
created
lib/Ajde/Layout.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         $this->set("name", $name);
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $style
35
+     */
33 36
     public function setStyle($style)
34 37
     {
35 38
         $this->set("style", $style);
Please login to merge, or discard this patch.
lib/Ajde/Log.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
         return $getWriters;
30 30
     }
31 31
 
32
+    /**
33
+     * @param string $level
34
+     */
32 35
     private static function shouldLog($level)
33 36
     {
34 37
         $configLevel = current(explode(':', Config::get('logLevel')));
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.phpmailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3168,7 +3168,7 @@
 block discarded – undo
3168 3168
      * @param string $path A filename or path, does not need to exist as a file
3169 3169
      * @param integer|string $options Either a PATHINFO_* constant,
3170 3170
      *      or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2
3171
-     * @return string|array
3171
+     * @return string
3172 3172
      * @static
3173 3173
      */
3174 3174
     public static function mb_pathinfo($path, $options = null)
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.pop3.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,8 +186,8 @@
 block discarded – undo
186 186
      *
187 187
      * @access public
188 188
      * @param string $host
189
-     * @param bool|int $port
190
-     * @param bool|int $tval
189
+     * @param boolean $port
190
+     * @param boolean $tval
191 191
      * @param string $username
192 192
      * @param string $password
193 193
      * @param int $debug_level
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.smtp.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
      *
843 843
      * @param string $data The data to send
844 844
      * @access public
845
-     * @return int|bool The number of bytes sent to the server or FALSE on error
845
+     * @return integer The number of bytes sent to the server or FALSE on error
846 846
      */
847 847
     public function client_send($data)
848 848
     {
@@ -857,7 +857,7 @@  discard block
 block discarded – undo
857 857
      * Get the latest error.
858 858
      *
859 859
      * @access public
860
-     * @return array
860
+     * @return string
861 861
      */
862 862
     public function getError()
863 863
     {
Please login to merge, or discard this patch.
lib/Ajde/Model.php 1 patch
Doc Comments   +19 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,6 +153,9 @@  discard block
 block discarded – undo
153 153
         }
154 154
     }
155 155
 
156
+    /**
157
+     * @return string
158
+     */
156 159
     public function displayField()
157 160
     {
158 161
         $displayField = $this->getDisplayField();
@@ -176,7 +179,7 @@  discard block
 block discarded – undo
176 179
     }
177 180
 
178 181
     /**
179
-     * @return Ajde_Db_Adapter_Abstract
182
+     * @return Ajde_Db_PDO
180 183
      */
181 184
     public function getConnection()
182 185
     {
@@ -224,6 +227,9 @@  discard block
 block discarded – undo
224 227
         return $this->loadByFields([$pk => $value]);
225 228
     }
226 229
 
230
+    /**
231
+     * @param string $field
232
+     */
227 233
     public function loadByField($field, $value)
228 234
     {
229 235
         return $this->loadByFields([$field => $value]);
@@ -429,7 +435,7 @@  discard block
 block discarded – undo
429 435
 
430 436
     /**
431 437
      *
432
-     * @param array $fields
438
+     * @param string[] $fields
433 439
      */
434 440
     public function setEncryptedFields($fields)
435 441
     {
@@ -734,6 +740,9 @@  discard block
 block discarded – undo
734 740
         return new $parentModelName();
735 741
     }
736 742
 
743
+    /**
744
+     * @param string $column
745
+     */
737 746
     public function getParentTable($column)
738 747
     {
739 748
         $fk = $this->getTable()->getFK($column);
@@ -864,6 +873,9 @@  discard block
 block discarded – undo
864 873
 
865 874
     // TREE SORT FUNCTIONS
866 875
 
876
+    /**
877
+     * @param string $collectionName
878
+     */
867 879
     public function sortTree($collectionName, $parentField = 'parent', $levelField = 'level', $sortField = 'sort')
868 880
     {
869 881
         $collection = new $collectionName();
@@ -874,6 +886,11 @@  discard block
 block discarded – undo
874 886
         $this->_recurseChildren($collection, $collectionName, $parentField, $levelField, $sortField);
875 887
     }
876 888
 
889
+    /**
890
+     * @param string $parentField
891
+     * @param string $levelField
892
+     * @param string $sortField
893
+     */
877 894
     private function _recurseChildren(
878 895
         $collection,
879 896
         $collectionName,
Please login to merge, or discard this patch.
lib/Ajde/Model/ValidatorAbstract.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
         return $this->_model;
35 35
     }
36 36
 
37
+    /**
38
+     * @param Ajde_Model $model
39
+     */
37 40
     public function setModel($model)
38 41
     {
39 42
         $this->_model = $model;
@@ -84,6 +87,9 @@  discard block
 block discarded – undo
84 87
         return $this->_value;
85 88
     }
86 89
 
90
+    /**
91
+     * @param string|null $value
92
+     */
87 93
     public function validate($fieldOptions, $value)
88 94
     {
89 95
         $this->_value = $value;
Please login to merge, or discard this patch.
lib/Ajde/Object/Magic.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      *
38
-     * @param mixed $name
39 38
      * @param mixed $value
40 39
      * @return mixed
41 40
      */
@@ -83,6 +82,9 @@  discard block
 block discarded – undo
83 82
             empty($value);
84 83
     }
85 84
 
85
+    /**
86
+     * @param string $key
87
+     */
86 88
     public function hasEmpty($key)
87 89
     {
88 90
         return $this->has($key) && $this->isEmpty($key);
@@ -164,6 +166,9 @@  discard block
 block discarded – undo
164 166
         return preg_replace_callback('/_([a-z])/', $func, $str);
165 167
     }
166 168
 
169
+    /**
170
+     * @param string $classname
171
+     */
167 172
     public static function classnameToUppercase($classname)
168 173
     {
169 174
         return str_replace(' ', '_', ucwords(str_replace('_', ' ', $classname)));
Please login to merge, or discard this patch.
lib/Ajde/Publisher.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@  discard block
 block discarded – undo
27 27
         $this->_url = $url;
28 28
     }
29 29
 
30
+    /**
31
+     * @return string
32
+     */
30 33
     public function getTitle()
31 34
     {
32 35
         return $this->_title;
@@ -42,6 +45,9 @@  discard block
 block discarded – undo
42 45
         return $this->_message;
43 46
     }
44 47
 
48
+    /**
49
+     * @return string
50
+     */
45 51
     public function getUrl()
46 52
     {
47 53
         return $this->_url;
Please login to merge, or discard this patch.