@@ -204,7 +204,7 @@ |
||
204 | 204 | /** |
205 | 205 | * @param BaseSyncEntity $syncEntity |
206 | 206 | * @param $contentType |
207 | - * @return ContentVersion|null |
|
207 | + * @return ContentVersion |
|
208 | 208 | */ |
209 | 209 | private function getActiveVersion(BaseSyncEntity $syncEntity, $contentType) |
210 | 210 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace Famoser\SyncApi\Models\Communication\Entities\Base; |
10 | 10 | |
11 | 11 | use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonProperty; |
12 | -use Famoser\SyncApi\Framework\Json\Models\DateTimeProperty; |
|
13 | 12 | use Famoser\SyncApi\Framework\Json\Models\DateTimeTextProperty; |
14 | 13 | use Famoser\SyncApi\Framework\Json\Models\IntProperty; |
15 | 14 | use Famoser\SyncApi\Framework\Json\Models\TextProperty; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace Famoser\SyncApi\Models\Communication\Request; |
10 | 10 | |
11 | 11 | |
12 | -use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonProperty; |
|
13 | 12 | use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonValueProperty; |
14 | 13 | use Famoser\SyncApi\Framework\Json\Models\ObjectProperty; |
15 | 14 | use Famoser\SyncApi\Framework\Json\Models\TextProperty; |
@@ -10,7 +10,6 @@ |
||
10 | 10 | |
11 | 11 | |
12 | 12 | use Famoser\SyncApi\Framework\Json\Models\ArrayProperty; |
13 | -use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonProperty; |
|
14 | 13 | use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonValueProperty; |
15 | 14 | use Famoser\SyncApi\Framework\Json\Models\ObjectProperty; |
16 | 15 | use Famoser\SyncApi\Models\Communication\Entities\CollectionCommunicationEntity; |
@@ -10,7 +10,6 @@ |
||
10 | 10 | |
11 | 11 | |
12 | 12 | use Famoser\SyncApi\Framework\Json\Models\ArrayProperty; |
13 | -use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonProperty; |
|
14 | 13 | use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonValueProperty; |
15 | 14 | use Famoser\SyncApi\Framework\Json\Models\TextProperty; |
16 | 15 | use Famoser\SyncApi\Models\Communication\Request\Base\BaseRequest; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace Famoser\SyncApi\Models\Communication\Request; |
10 | 10 | |
11 | 11 | use Famoser\SyncApi\Framework\Json\Models\ArrayProperty; |
12 | -use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonProperty; |
|
13 | 12 | use Famoser\SyncApi\Framework\Json\Models\Base\AbstractJsonValueProperty; |
14 | 13 | use Famoser\SyncApi\Framework\Json\Models\ObjectProperty; |
15 | 14 | use Famoser\SyncApi\Models\Communication\Entities\SyncCommunicationEntity; |
@@ -97,7 +97,7 @@ |
||
97 | 97 | * @param null|string $where |
98 | 98 | * @param null|array $parameters |
99 | 99 | * @param null|string $orderBy |
100 | - * @return null|Application|ApplicationSetting|AuthorizationCode|Collection|ContentVersion|Device|Entity| |
|
100 | + * @return BaseEntity |
|
101 | 101 | * FrontendUser|User|UserCollection |
102 | 102 | */ |
103 | 103 | public function getSingleFromDatabase(BaseEntity $entity, $where = null, $parameters = null, $orderBy = null); |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * checks if the value to be assigned to a setting is valid |
65 | 65 | * |
66 | - * @param $key |
|
66 | + * @param string $key |
|
67 | 67 | * @param $val |
68 | 68 | * @return bool |
69 | 69 | */ |
@@ -19,7 +19,6 @@ |
||
19 | 19 | use Famoser\SyncApi\Models\Entities\UserCollection; |
20 | 20 | use Famoser\SyncApi\Types\ApiError; |
21 | 21 | use Famoser\SyncApi\Types\ServerError; |
22 | -use Guzzle\Http\Message\Request; |
|
23 | 22 | use Slim\Http\Response; |
24 | 23 | |
25 | 24 | /** |