Completed
Pull Request — master (#34)
by Adam
05:48 queued 02:18
created
src/Connector/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
                 if (is_array($object->message)) {
111 111
                     $output = '';
112 112
                     foreach ($object->message as $message) {
113
-                        $output .= $message . PHP_EOL;
113
+                        $output .= $message.PHP_EOL;
114 114
                     }
115 115
                     throw new \Exception($output);
116 116
                 } else {
Please login to merge, or discard this patch.
src/Connector/Connector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         return $this->provider->getAuthenticatedRequest(
71 71
             $verb,
72
-            self::BASE_URI . $path,
72
+            self::BASE_URI.$path,
73 73
             $this->accessToken
74 74
         );
75 75
     }
Please login to merge, or discard this patch.
src/Response/CertificatesResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function __construct($certificates)
17 17
     {
18
-        parent::__construct(array_map(function ($certificate) {
18
+        parent::__construct(array_map(function($certificate) {
19 19
             return new CertificateResponse($certificate);
20 20
         }, $certificates), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/LogForwardingDestinationsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function __construct($destinations)
17 17
     {
18
-        parent::__construct(array_map(function ($destination) {
18
+        parent::__construct(array_map(function($destination) {
19 19
             return new LogForwardingDestinationResponse($destination);
20 20
         }, $destinations), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Endpoints/Environments.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
     {
341 341
 
342 342
         $options = [
343
-          'form_params' => $config,
343
+            'form_params' => $config,
344 344
         ];
345 345
 
346 346
         return new OperationResponse(
@@ -709,12 +709,12 @@  discard block
 block discarded – undo
709 709
         );
710 710
     }
711 711
 
712
-   /**
713
-    * Returns a list of log forwarding destinations.
714
-    *
715
-    * @param string $environmentUuid The environment ID
716
-    * @return LogForwardingDestinationsResponse
717
-    */
712
+    /**
713
+     * Returns a list of log forwarding destinations.
714
+     *
715
+     * @param string $environmentUuid The environment ID
716
+     * @return LogForwardingDestinationsResponse
717
+     */
718 718
     public function getLogDestinations($environmentUuid)
719 719
     {
720 720
         return new LogForwardingDestinationsResponse(
@@ -725,13 +725,13 @@  discard block
 block discarded – undo
725 725
         );
726 726
     }
727 727
 
728
-   /**
729
-    * Returns a specific log forwarding destination.
730
-    *
731
-    * @param string $environmentUuid The environment ID
732
-    * @param int    $destinationId
733
-    * @return LogForwardingDestinationResponse
734
-    */
728
+    /**
729
+     * Returns a specific log forwarding destination.
730
+     *
731
+     * @param string $environmentUuid The environment ID
732
+     * @param int    $destinationId
733
+     * @return LogForwardingDestinationResponse
734
+     */
735 735
     public function getLogDestination($environmentUuid, $destinationId)
736 736
     {
737 737
         return new LogForwardingDestinationResponse(
@@ -742,17 +742,17 @@  discard block
 block discarded – undo
742 742
         );
743 743
     }
744 744
 
745
-   /**
746
-    * Creates a log forwarding destination.
747
-    *
748
-    * @param string $environmentUuid
749
-    * @param string $label
750
-    * @param array  $sources
751
-    * @param string $consumer
752
-    * @param array  $credentials
753
-    * @param string $address
754
-    * @return OperationResponse
755
-    */
745
+    /**
746
+     * Creates a log forwarding destination.
747
+     *
748
+     * @param string $environmentUuid
749
+     * @param string $label
750
+     * @param array  $sources
751
+     * @param string $consumer
752
+     * @param array  $credentials
753
+     * @param string $address
754
+     * @return OperationResponse
755
+     */
756 756
     public function createLogDestination($environmentUuid, $label, $sources, $consumer, $credentials, $address)
757 757
     {
758 758
 
@@ -771,13 +771,13 @@  discard block
 block discarded – undo
771 771
         );
772 772
     }
773 773
 
774
-   /**
775
-    * Delete a specific log forwarding destination.
776
-    *
777
-    * @param string $environmentUuid
778
-    * @param int    $destId
779
-    * @return OperationResponse
780
-    */
774
+    /**
775
+     * Delete a specific log forwarding destination.
776
+     *
777
+     * @param string $environmentUuid
778
+     * @param int    $destId
779
+     * @return OperationResponse
780
+     */
781 781
     public function deleteLogDestination($environmentUuid, $destId)
782 782
     {
783 783
         return new OperationResponse(
@@ -785,13 +785,13 @@  discard block
 block discarded – undo
785 785
         );
786 786
     }
787 787
 
788
-   /**
789
-    * Disables a log forwarding destination.
790
-    *
791
-    * @param string $environmentUuid
792
-    * @param int    $destId
793
-    * @return OperationResponse
794
-    */
788
+    /**
789
+     * Disables a log forwarding destination.
790
+     *
791
+     * @param string $environmentUuid
792
+     * @param int    $destId
793
+     * @return OperationResponse
794
+     */
795 795
     public function disableLogDestination($environmentUuid, $destId)
796 796
     {
797 797
         return new OperationResponse(
@@ -802,13 +802,13 @@  discard block
 block discarded – undo
802 802
         );
803 803
     }
804 804
 
805
-   /**
806
-    * Disables a log forwarding destination.
807
-    *
808
-    * @param string $environmentUuid
809
-    * @param int    $destId
810
-    * @return OperationResponse
811
-    */
805
+    /**
806
+     * Disables a log forwarding destination.
807
+     *
808
+     * @param string $environmentUuid
809
+     * @param int    $destId
810
+     * @return OperationResponse
811
+     */
812 812
     public function enableLogDestination($environmentUuid, $destId)
813 813
     {
814 814
         return new OperationResponse(
@@ -819,18 +819,18 @@  discard block
 block discarded – undo
819 819
         );
820 820
     }
821 821
 
822
-   /**
823
-    * Updates a log forwarding destination.
824
-    *
825
-    * @param string $environmentUuid
826
-    * @param int    $destId
827
-    * @param string $label
828
-    * @param array  $sources
829
-    * @param string $consumer
830
-    * @param array  $creds
831
-    * @param string $address
832
-    * @return OperationResponse
833
-    */
822
+    /**
823
+     * Updates a log forwarding destination.
824
+     *
825
+     * @param string $environmentUuid
826
+     * @param int    $destId
827
+     * @param string $label
828
+     * @param array  $sources
829
+     * @param string $consumer
830
+     * @param array  $creds
831
+     * @param string $address
832
+     * @return OperationResponse
833
+     */
834 834
     public function updateLogDestination($environmentUuid, $destId, $label, $sources, $consumer, $creds, $address)
835 835
     {
836 836
 
Please login to merge, or discard this patch.