Completed
Pull Request — master (#1867)
by
unknown
02:27
created
plugins/unsplash-bg-updater/vendor/guzzlehttp/psr7/src/UploadedFile.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     }
140 140
 
141 141
     /**
142
-     * @param mixed $param
142
+     * @param string|null $param
143 143
      * @return boolean
144 144
      */
145 145
     private function isStringOrNull($param)
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @param mixed $param
151
+     * @param string $param
152 152
      * @return boolean
153 153
      */
154 154
     private function isStringNotEmpty($param)
Please login to merge, or discard this patch.
plugins/unsplash-bg-updater/vendor/guzzlehttp/psr7/src/UriResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -179,6 +179,9 @@
 block discarded – undo
179 179
         return $emptyPathUri;
180 180
     }
181 181
 
182
+    /**
183
+     * @return string
184
+     */
182 185
     private static function getRelativePath(UriInterface $base, UriInterface $target)
183 186
     {
184 187
         $sourceSegments = explode('/', $base->getPath());
Please login to merge, or discard this patch.
vendor/league/oauth2-client/src/Provider/AbstractProvider.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * @param array $options An array of options to set on this provider.
147 147
      *     Options include `clientId`, `clientSecret`, `redirectUri`, and `state`.
148 148
      *     Individual providers may introduce more options, as needed.
149
-     * @return array The options to pass to the HttpClient constructor
149
+     * @return string[] The options to pass to the HttpClient constructor
150 150
      */
151 151
     protected function getAllowedClientOptions(array $options)
152 152
     {
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
      *
565 565
      * @param  string $method
566 566
      * @param  string $url
567
-     * @param  AccessTokenInterface|string $token
567
+     * @param  AccessToken $token
568 568
      * @param  array $options Any of "headers", "body", and "protocolVersion".
569 569
      * @return RequestInterface
570 570
      */
Please login to merge, or discard this patch.
plugins/unsplash-bg-updater/vendor/unsplash/unsplash/src/Collection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * @param  string $title Collection's title
122 122
      * @param  string $description Collection's description
123 123
      * @param  boolean $private Whether to make this collection private
124
-     * @return Photo
124
+     * @return Collection
125 125
      */
126 126
     public static function create($title, $description = '', $private = false)
127 127
     {
Please login to merge, or discard this patch.
plugins/unsplash-bg-updater/vendor/unsplash/unsplash/src/Connection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Refresh an expired token and generate a new AccessToken object.
89 89
      *
90
-     * @return \League\OAuth2\Client\Token\AccessToken|null
90
+     * @return null|\League\OAuth2\Client\Token\AccessTokenInterface
91 91
      */
92 92
     public function refreshToken()
93 93
     {
Please login to merge, or discard this patch.
plugins/unsplash-bg-updater/vendor/unsplash/unsplash/src/HttpClient.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use GuzzleHttp\Psr7\Uri;
10 10
 use \League\OAuth2\Client\Token\AccessToken;
11 11
 use Unsplash\OAuth2\Client\Provider\Unsplash;
12
-
13 12
 use GuzzleHttp\Psr7\Request;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.