Failed Conditions
Pull Request — master (#298)
by Maximo
02:56
created
src/Hashing/Password.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace Canvas\Hashing;
6 6
 
7
-use Canvas\Models\Users;
8
-
9 7
 class Password
10 8
 {
11 9
     /**
Please login to merge, or discard this patch.
src/Http/SwooleResponse.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 
10 10
 namespace Canvas\Http;
11 11
 
12
+use Exception;
12 13
 use Phalcon\Http\Cookie;
13 14
 use Phalcon\Http\Response as PhResponse;
14 15
 use swoole_http_response;
15
-use Exception;
16 16
 
17 17
 class SwooleResponse extends Response
18 18
 {
Please login to merge, or discard this patch.
src/Jobs/Job.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * Dispatch the job with the given arguments.
23 23
      *
24
-     * @param mixed $mixed
25
-     * @return void
24
+     * @return PendingDispatch
26 25
      */
27 26
     public static function dispatch(): PendingDispatch
28 27
     {
Please login to merge, or discard this patch.
src/Listener/Company.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,6 @@
 block discarded – undo
18 18
      *  Event to run after a user signs up.
19 19
      *
20 20
      * @param Event $event
21
-     * @param Users $user
22
-     * @param boolean $isFirstSignup
23 21
      * @return void
24 22
      */
25 23
     public function afterSignup(Event $event, Companies $company): void
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,16 +4,16 @@
 block discarded – undo
4 4
 
5 5
 namespace Canvas\Listener;
6 6
 
7
-use Phalcon\Events\Event;
8
-use Canvas\Models\Users;
9
-use Canvas\Models\Companies;
10
-use Canvas\Models\CompaniesBranches;
11 7
 use Baka\Auth\Models\UserCompanyApps;
12 8
 use Canvas\Http\Exception\InternalServerErrorException;
13 9
 use Canvas\Models\AppsPlans;
14
-use Canvas\Models\CompaniesGroups;
10
+use Canvas\Models\Companies;
15 11
 use Canvas\Models\CompaniesAssociations;
12
+use Canvas\Models\CompaniesBranches;
13
+use Canvas\Models\CompaniesGroups;
14
+use Canvas\Models\Users;
16 15
 use Phalcon\Di;
16
+use Phalcon\Events\Event;
17 17
 
18 18
 class Company
19 19
 {
Please login to merge, or discard this patch.
src/Mapper/CustomFieldsMapper.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 class CustomFieldsMapper extends CustomMapper
12 12
 {
13 13
     /**
14
-     * @param Canvas\Models\FileSystem $file
15
-     * @param Canvas\Dto\Files $fileDto
16 14
      * @return Files
17 15
      */
18 16
     public function mapToObject($customField, $customFieldDto, array $context = [])
Please login to merge, or discard this patch.
src/Mapper/CustomFilterMapper.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 {
13 13
     /**
14 14
      * @param Baka\Database\CustomFilters\CustomFilters $filter
15
-     * @param \Canvas\Dto\CustomFilter $filterSchema
16 15
      * @return ListSchema
17 16
      */
18 17
     public function mapToObject($filter, $customFilter, array $context = [])
Please login to merge, or discard this patch.
src/Mapper/FileMapper.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @param Canvas\Models\FileSystem $file
32 31
      * @param Canvas\Dto\Files $fileDto
33 32
      * @return Files
34 33
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 
7 7
 use AutoMapperPlus\CustomMapper\CustomMapper;
8 8
 use Canvas\Dto\Files;
9
-use Canvas\Models\FileSystemEntities;
10 9
 
11 10
 // You can either extend the CustomMapper, or just implement the MapperInterface
12 11
 // directly.
Please login to merge, or discard this patch.
src/Mapper/ListSchemaMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @param SystemModules $systeModel
20 20
      * @param \Canvas\Dto\ListSchema $listSchema
21
-     * @return ListSchema
21
+     * @return \Canvas\Dto\ListSchema
22 22
      */
23 23
     public function mapToObject($systeModel, $listSchema, array $context = [])
24 24
     {
Please login to merge, or discard this patch.
src/Mapper/NotificationMapper.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 use AutoMapperPlus\CustomMapper\CustomMapper;
8 8
 use Canvas\Models\SystemModules;
9
-use ReflectionClass;
10 9
 use Exception;
10
+use ReflectionClass;
11 11
 
12 12
 // You can either extend the CustomMapper, or just implement the MapperInterface
13 13
 // directly.
Please login to merge, or discard this patch.