Completed
Push — master ( 2c4f4a...51d604 )
by Joseph
01:42
created
src/Drivers/AbstractAdapter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
     abstract function getQuota();
181 181
 
182 182
     /**
183
-     * @param $user
183
+     * @param \SocialiteProviders\Manager\OAuth2\User $user
184 184
      *
185 185
      * @return array
186 186
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 namespace STS\StorageConnect\Drivers;
4 4
 
5 5
 use Illuminate\Http\RedirectResponse;
6
-use SocialiteProviders\Manager\OAuth2\AbstractProvider;
7 6
 use STS\StorageConnect\Events\CloudStorageSetup;
8 7
 use STS\StorageConnect\Models\CloudStorage;
9 8
 use STS\StorageConnect\Models\CustomManagedCloudStorage;
10 9
 use STS\StorageConnect\Types\Quota;
10
+use SocialiteProviders\Manager\OAuth2\AbstractProvider;
11 11
 
12 12
 abstract class AbstractAdapter
13 13
 {
Please login to merge, or discard this patch.
src/Drivers/Google/Adapter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @param $path
127
+     * @param string $path
128 128
      *
129
-     * @return mixed
129
+     * @return string
130 130
      */
131 131
     protected function getFolderIdForPath( $path )
132 132
     {
Please login to merge, or discard this patch.
src/Exceptions/StorageUnavailableException.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use STS\StorageConnect\Connections\Connection;
6 6
 use STS\StorageConnect\Models\CloudStorage;
7
-use Throwable;
8 7
 
9 8
 /**
10 9
  * Class StorageUnavailableException
Please login to merge, or discard this patch.
src/StorageConnectManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @param $driver
138
+     * @param string $driver
139 139
      *
140 140
      * @return mixed
141 141
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace STS\StorageConnect;
4 4
 
5
-use Illuminate\Support\Manager;
6
-use Illuminate\Support\Str;
7 5
 use Illuminate\Http\RedirectResponse;
6
+use Illuminate\Support\Manager;
8 7
 use InvalidArgumentException;
9
-use Laravel\Socialite\Two\AbstractProvider;
10 8
 use STS\StorageConnect\Drivers\AbstractAdapter;
11 9
 use STS\StorageConnect\Models\CloudStorage;
12 10
 use STS\StorageConnect\Models\CustomManagedCloudStorage;
Please login to merge, or discard this patch.
src/Subscribers/LogsActivity.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace STS\StorageConnect\Subscribers;
3 3
 
4
+use Log;
4 5
 use STS\StorageConnect\Events\CloudStorageDisabled;
5 6
 use STS\StorageConnect\Events\CloudStorageEnabled;
6 7
 use STS\StorageConnect\Events\CloudStorageSetup;
7
-use Log;
8 8
 use STS\StorageConnect\Events\UploadFailed;
9 9
 use STS\StorageConnect\Events\UploadRetrying;
10 10
 use STS\StorageConnect\Events\UploadSucceeded;
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @param $message
59
-     * @param $storage
58
+     * @param string $message
59
+     * @param \STS\StorageConnect\Models\CloudStorage $storage
60 60
      * @param array $context
61 61
      */
62 62
     protected function info($message, $storage, array $context = [])
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param $message
69
-     * @param $storage
68
+     * @param string $message
69
+     * @param \STS\StorageConnect\Models\CloudStorage $storage
70 70
      * @param array $context
71 71
      */
72 72
     protected function warning($message, $storage, array $context = [])
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param $message
79
-     * @param $storage
78
+     * @param string $message
79
+     * @param \STS\StorageConnect\Models\CloudStorage $storage
80 80
      * @param array $context
81 81
      */
82 82
     protected function error($message, $storage, array $context = [])
Please login to merge, or discard this patch.
src/Models/CustomManagedCloudStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @param $callback
65
+     * @param callable $callback
66 66
      *
67 67
      * @return $this
68 68
      */
Please login to merge, or discard this patch.
src/Models/CloudStorage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace STS\StorageConnect\Models;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use STS\StorageConnect\Exceptions\StorageUnavailableException;
7 6
 
8 7
 /**
9 8
  * Class CloudStorage
Please login to merge, or discard this patch.
src/Models/Concerns/UploadsFiles.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@  discard block
 block discarded – undo
13 13
 trait UploadsFiles
14 14
 {
15 15
     /**
16
-     * @param      $source
17
-     * @param      $destinationPath
16
+     * @param      string $source
17
+     * @param      string $destinationPath
18 18
      * @param bool $shouldQueue
19
-     * @param null $queueJob
19
+     * @param UploadFile $queueJob
20 20
      *
21 21
      * @return bool
22 22
      */
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param $sourcePath
68
+     * @param string $sourcePath
69 69
      * @param $destinationPath
70 70
      * @param null $targetModel
71 71
      *
Please login to merge, or discard this patch.