Completed
Push — master ( e8b14e...3f16b8 )
by Florian
08:27 queued 05:51
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.
SyncApi/Models/Communication/Entities/Base/BaseCommunicationEntity.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Famoser/SyncApi/Models/Communication/Request/AuthorizationRequest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Famoser/SyncApi/Models/Communication/Request/CollectionEntityRequest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Famoser/SyncApi/Models/Communication/Request/HistoryEntityRequest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Famoser/SyncApi/Models/Communication/Request/SyncEntityRequest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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;
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/Services/MailService.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         //check if mail settings are defined
36 36
         $mailSettings = isset($this->getSettingsArray()['mail']) ?
37
-            $this->getSettingsArray()['mail'] :
38
-            ['type' => 'mail'];
37
+            $this->getSettingsArray()['mail'] : ['type' => 'mail'];
39 38
 
40 39
         if ($mailSettings['type'] == 'smtp') {
41 40
             $transport = Swift_SmtpTransport::newInstance($mailSettings['url'], $mailSettings['port'])
Please login to merge, or discard this patch.