Completed
Push — master ( 5a5aff...6d6efd )
by Joram van den
04:02
created
core/modules/_core/_coreComponentController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
 		return $this->_getResource('Ajde_Resource_Local_Compressed');
27 27
 	}
28 28
 
29
+	/**
30
+	 * @param string $className
31
+	 */
29 32
 	protected function _getResource($className)
30 33
 	{
31 34
 		// get resource from request
Please login to merge, or discard this patch.
core/modules/admin/AdminController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 	/**
8 8
 	 * Optional function called before controller is invoked
9 9
 	 * When returning false, invocation is cancelled
10
-	 * @return boolean
10
+	 * @return null|boolean
11 11
 	 */
12 12
 	public function beforeInvoke($allowed = array())
13 13
 	{
Please login to merge, or discard this patch.
core/modules/admin/model/MetaModel.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -66,18 +66,27 @@
 block discarded – undo
66 66
 		return false;
67 67
 	}
68 68
 	
69
+	/**
70
+	 * @param string $name
71
+	 */
69 72
 	public function getBooleanOption($name)
70 73
 	{
71 74
 		$val = $this->getOption($name);
72 75
 		return (boolean) $val;
73 76
 	}
74 77
 	
78
+	/**
79
+	 * @param string $name
80
+	 */
75 81
 	public function getIntOption($name)
76 82
 	{
77 83
 		$val = $this->getOption($name);
78 84
 		return (int) $val;
79 85
 	}
80 86
 	
87
+	/**
88
+	 * @param string $metaId
89
+	 */
81 90
 	public static function getNameFromId($metaId)
82 91
 	{
83 92
 		$meta = new self();
Please login to merge, or discard this patch.
core/modules/node/model/NodeModel.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     /**
39 39
      *
40
-     * @param $slug
40
+     * @param string $slug
41 41
      * @return bool|NodeModel
42 42
      */
43 43
     public static function fromSlug($slug)
@@ -384,6 +384,9 @@  discard block
 block discarded – undo
384 384
 		}
385 385
 	}
386 386
 
387
+	/**
388
+	 * @param string $method
389
+	 */
387 390
 	public function shadowCall($method)
388 391
 	{
389 392
 		$shadowModel = $this->getShadowModel();
@@ -435,7 +438,6 @@  discard block
 block discarded – undo
435 438
     }
436 439
 
437 440
     /**
438
-     * @param bool $breadcrumb
439 441
      * @deprecated use $this->slug = $this->_makeSlug();
440 442
      */
441 443
     private function _setSlug()
@@ -654,6 +656,9 @@  discard block
 block discarded – undo
654 656
 		return $this->getSibling('prev', $loop);
655 657
 	}
656 658
 
659
+	/**
660
+	 * @param string $dir
661
+	 */
657 662
 	public function getSibling($dir, $loop = true)
658 663
 	{
659 664
 		if ($dir == 'next') {
Please login to merge, or discard this patch.
core/modules/shop/model/ProductModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      *
33
-     * @param $slug
33
+     * @param string $slug
34 34
      * @return bool|ProductModel
35 35
      */
36 36
     public static function fromSlug($slug)
Please login to merge, or discard this patch.
core/modules/shop/ShopTransactionController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -488,6 +488,9 @@
 block discarded – undo
488 488
         return $this->redirect('shop/cart');
489 489
     }
490 490
 
491
+    /**
492
+     * @param string $subject
493
+     */
491 494
     public function mailUpdateAdmin(TransactionModel $transaction, $subject = null)
492 495
     {
493 496
         $recipient = Config::get('email');
Please login to merge, or discard this patch.
core/modules/user/model/UserModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@
 block discarded – undo
46 46
 		}
47 47
 	}
48 48
 
49
+    /**
50
+     * @param string $fieldName
51
+     */
49 52
     private function saveFileFromWeb($fieldName)
50 53
     {
51 54
         if ($this->has($fieldName) &&
Please login to merge, or discard this patch.
lib/Ajde/Acl.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
         return self::$_user;
27 27
     }
28 28
 
29
+    /**
30
+     * @return callable
31
+     */
29 32
     private static function getUserId()
30 33
     {
31 34
         $user = self::getUser();
@@ -55,7 +58,7 @@  discard block
 block discarded – undo
55 58
     }
56 59
 
57 60
     /**
58
-     * @return AclCollection
61
+     * @return AclModel
59 62
      */
60 63
     private static function getAclModel()
61 64
     {
@@ -90,6 +93,9 @@  discard block
 block discarded – undo
90 93
         return false;
91 94
     }
92 95
 
96
+    /**
97
+     * @param string $entity
98
+     */
93 99
     public static function removePermission(
94 100
         $usergroup,
95 101
         $entity,
@@ -117,6 +123,9 @@  discard block
 block discarded – undo
117 123
         return $success == true;
118 124
     }
119 125
 
126
+    /**
127
+     * @param string $entity
128
+     */
120 129
     public static function addPermission($permission, $entity, $usergroup, $module, $action = '*', $extra = '*')
121 130
     {
122 131
         $acl = self::getAclModel();
Please login to merge, or discard this patch.
lib/Ajde/Acl/Proxy/Collection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * @param bool $clean
24
-     * @return bool
24
+     * @return boolean|null
25 25
      */
26 26
     private function validateModels($clean = true)
27 27
     {
Please login to merge, or discard this patch.