Completed
Pull Request — master (#5)
by Florian
02:35
created
src/Famoser/SyncApi/Controllers/Base/AbstractApiSyncController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Famoser/SyncApi/Services/Interfaces/DatabaseServiceInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Famoser/SyncApi/Types/SettingKeys.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Famoser/SyncApi/Repositories/SettingsRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * SettingsRepository constructor.
34 34
      *
35 35
      * @param DatabaseServiceInterface $helper
36
-     * @param $applicationId
36
+     * @param string $applicationId
37 37
      */
38 38
     public function __construct(DatabaseServiceInterface $helper, $applicationId)
39 39
     {
Please login to merge, or discard this patch.