@@ -879,7 +879,7 @@ |
||
| 879 | 879 | /** |
| 880 | 880 | * get database row of a give share |
| 881 | 881 | * |
| 882 | - * @param $id |
|
| 882 | + * @param integer $id |
|
| 883 | 883 | * |
| 884 | 884 | * @return array |
| 885 | 885 | * @throws ShareNotFound |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | */ |
| 74 | 74 | public function isCircleAllowed($type) { |
| 75 | 75 | if ($this->allowedCircle === -1) { |
| 76 | - $this->allowedCircle = (int) $this->getAppValue(self::CIRCLES_ALLOW_CIRCLES); |
|
| 76 | + $this->allowedCircle = (int)$this->getAppValue(self::CIRCLES_ALLOW_CIRCLES); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | return ((int)$type & (int)$this->allowedCircle); |
@@ -145,7 +145,7 @@ |
||
| 145 | 145 | /** |
| 146 | 146 | * @param array $arr |
| 147 | 147 | * |
| 148 | - * @return null |
|
| 148 | + * @return BaseMember |
|
| 149 | 149 | */ |
| 150 | 150 | public function fromArray($arr) { |
| 151 | 151 | $this->setCircleId($arr['circle_id']); |