Completed
Push — master ( 63e8f9...abc636 )
by
unknown
03:42 queued 12s
created
src/VideoPublisher/Security/TokenCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         $response = $this->connection->sendPayload($payload);
62 62
         $statusCode = $response->getStatusCode();
63 63
         if ($statusCode >= 200 && $statusCode < 300) {
64
-            return new Token($response->getJsonResponse()['token']) ;
64
+            return new Token($response->getJsonResponse()['token']);
65 65
         } else {
66 66
             throw new ResponseException($response);
67 67
         }
Please login to merge, or discard this patch.
src/VideoPublisher/AutoLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-spl_autoload_register(function ($className) {
3
+spl_autoload_register(function($className) {
4 4
     $filename = __DIR__ . '/' . str_replace(array('\\', 'VideoPublisher/'), array('/', ''), ltrim($className, '\\')) . '.php';
5 5
     if (file_exists($filename)) {
6 6
         require_once $filename;
Please login to merge, or discard this patch.
src/VideoPublisher/Domain/Stream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
         $this->name = $data['streamName'];
49 49
         $this->uuid = $data['uuid'];
50 50
         $this->status = $data['status'];
51
-        $this->enabled = (boolean)$data['enabled'];
52
-        $this->viewable = (boolean)$data['viewable'];
51
+        $this->enabled = (boolean) $data['enabled'];
52
+        $this->viewable = (boolean) $data['viewable'];
53 53
         $this->view = new StreamView($data['view']);
54 54
     }
55 55
 
Please login to merge, or discard this patch.
src/VideoPublisher/Domain/SimpleStream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $this->name = $data['streamName'];
39 39
         $this->uuid = $data['uuid'];
40 40
         $this->status = $data['status'];
41
-        $this->enabled = (boolean)$data['enabled'];
41
+        $this->enabled = (boolean) $data['enabled'];
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.