Passed
Push — v2 ( ee9500...f0d2ea )
by Brice
05:14 queued 02:29
created
example/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 
19 19
 // Create an Asset
20 20
 $asset = AssetFactory::build(
21
-    "$root/tests/video.mp4",        // path to file of a Flysystem\File object
22
-    'My Video',                     // optional title
23
-    'This is an awesome video',     // optional description
21
+    "$root/tests/video.mp4", // path to file of a Flysystem\File object
22
+    'My Video', // optional title
23
+    'This is an awesome video', // optional description
24 24
     ['test', 'asset-distributor']   // optional array of tags
25 25
 );
26 26
 $asset->setVisibility('private');
Please login to merge, or discard this patch.
src/Dailymotion/Dailymotion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         // Check if session is present and if it was created for the same grant type
22 22
         // i.e: if the grant type to create the session was `AUTHORIZATION` and the current grant type is
23 23
         // `CLIENT_CREDENTIALS`, we don't want to call the API on behalf of another user.
24
-        if (!empty($session) && isset($session['grant_type']) && ((int)$session['grant_type'] === $this->grantType)) {
24
+        if (!empty($session) && isset($session['grant_type']) && ((int) $session['grant_type'] === $this->grantType)) {
25 25
             if (!$forceRefresh && isset($session['access_token'])) {
26 26
                 if (!isset($session['expires']) || (time() < $session['expires'])) {
27 27
                     return $session['access_token'];
Please login to merge, or discard this patch.