@@ -60,7 +60,7 @@ |
||
| 60 | 60 | /** |
| 61 | 61 | * Uploads cover to temporary directory |
| 62 | 62 | * |
| 63 | - * @return mixed |
|
| 63 | + * @return \Organization_Cover_Default|null |
|
| 64 | 64 | */ |
| 65 | 65 | public function uploadCoverAutoCrop($file) |
| 66 | 66 | { |
@@ -190,7 +190,7 @@ |
||
| 190 | 190 | |
| 191 | 191 | /** |
| 192 | 192 | * @param $request |
| 193 | - * @return $this|void |
|
| 193 | + * @return LogoModel |
|
| 194 | 194 | */ |
| 195 | 195 | public function removeLogo($request) |
| 196 | 196 | { |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | /** |
| 150 | 150 | * Persist record |
| 151 | 151 | * |
| 152 | - * @param Record|boolean $item record to be persisted |
|
| 152 | + * @param Record $item record to be persisted |
|
| 153 | 153 | * |
| 154 | 154 | * @return $this |
| 155 | 155 | */ |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | /** |
| 181 | 181 | * Returns current default Persisted Record |
| 182 | 182 | * |
| 183 | - * @return bool|mixed |
|
| 183 | + * @return boolean |
|
| 184 | 184 | */ |
| 185 | 185 | public function getCurrentDefault() |
| 186 | 186 | { |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @param $key |
|
| 71 | + * @param string $key |
|
| 72 | 72 | */ |
| 73 | 73 | public function setCurrentKey($key) |
| 74 | 74 | { |
@@ -33,7 +33,6 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * Recursively builds parents path to passed resource |
| 35 | 35 | * |
| 36 | - * @param ACL_Resource|bool $page |
|
| 37 | 36 | * @param array $return |
| 38 | 37 | * @return array |
| 39 | 38 | */ |
@@ -41,6 +41,9 @@ |
||
| 41 | 41 | return $this; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @param boolean $value |
|
| 46 | + */ |
|
| 44 | 47 | public function authenticated($value = null) |
| 45 | 48 | { |
| 46 | 49 | if (!is_null($value)) { |
@@ -73,6 +73,9 @@ |
||
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $name |
|
| 78 | + */ |
|
| 76 | 79 | static function nameTransaction($name) |
| 77 | 80 | { |
| 78 | 81 | if (self::isLoaded()) { |