Completed
Pull Request — master (#34)
by Adam
03:25
created
src/Endpoints/LogForwardingDestinations.php 1 patch
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@  discard block
 block discarded – undo
27 27
         $this->client = $client;
28 28
     }
29 29
 
30
-   /**
31
-    * Returns a list of log forwarding destinations.
32
-    *
33
-    * @param string $environmentUuid The environment ID
34
-    * @return LogForwardingDestinationsResponse
35
-    */
30
+    /**
31
+     * Returns a list of log forwarding destinations.
32
+     *
33
+     * @param string $environmentUuid The environment ID
34
+     * @return LogForwardingDestinationsResponse
35
+     */
36 36
     public function getAll($environmentUuid)
37 37
     {
38 38
         return new LogForwardingDestinationsResponse(
@@ -43,13 +43,13 @@  discard block
 block discarded – undo
43 43
         );
44 44
     }
45 45
 
46
-   /**
47
-    * Returns a specific log forwarding destination.
48
-    *
49
-    * @param string $environmentUuid The environment ID
50
-    * @param int    $destinationId
51
-    * @return LogForwardingDestinationResponse
52
-    */
46
+    /**
47
+     * Returns a specific log forwarding destination.
48
+     *
49
+     * @param string $environmentUuid The environment ID
50
+     * @param int    $destinationId
51
+     * @return LogForwardingDestinationResponse
52
+     */
53 53
     public function get($environmentUuid, $destinationId)
54 54
     {
55 55
         return new LogForwardingDestinationResponse(
@@ -60,17 +60,17 @@  discard block
 block discarded – undo
60 60
         );
61 61
     }
62 62
 
63
-   /**
64
-    * Creates a log forwarding destination.
65
-    *
66
-    * @param string $environmentUuid
67
-    * @param string $label
68
-    * @param array  $sources
69
-    * @param string $consumer
70
-    * @param array  $credentials
71
-    * @param string $address
72
-    * @return OperationResponse
73
-    */
63
+    /**
64
+     * Creates a log forwarding destination.
65
+     *
66
+     * @param string $environmentUuid
67
+     * @param string $label
68
+     * @param array  $sources
69
+     * @param string $consumer
70
+     * @param array  $credentials
71
+     * @param string $address
72
+     * @return OperationResponse
73
+     */
74 74
     public function create($environmentUuid, $label, $sources, $consumer, $credentials, $address)
75 75
     {
76 76
 
@@ -89,13 +89,13 @@  discard block
 block discarded – undo
89 89
         );
90 90
     }
91 91
 
92
-   /**
93
-    * Delete a specific log forwarding destination.
94
-    *
95
-    * @param string $environmentUuid
96
-    * @param int    $destId
97
-    * @return OperationResponse
98
-    */
92
+    /**
93
+     * Delete a specific log forwarding destination.
94
+     *
95
+     * @param string $environmentUuid
96
+     * @param int    $destId
97
+     * @return OperationResponse
98
+     */
99 99
     public function delete($environmentUuid, $destId)
100 100
     {
101 101
         return new OperationResponse(
@@ -103,13 +103,13 @@  discard block
 block discarded – undo
103 103
         );
104 104
     }
105 105
 
106
-   /**
107
-    * Disables a log forwarding destination.
108
-    *
109
-    * @param string $environmentUuid
110
-    * @param int    $destId
111
-    * @return OperationResponse
112
-    */
106
+    /**
107
+     * Disables a log forwarding destination.
108
+     *
109
+     * @param string $environmentUuid
110
+     * @param int    $destId
111
+     * @return OperationResponse
112
+     */
113 113
     public function disable($environmentUuid, $destId)
114 114
     {
115 115
         return new OperationResponse(
@@ -120,13 +120,13 @@  discard block
 block discarded – undo
120 120
         );
121 121
     }
122 122
 
123
-   /**
124
-    * Disables a log forwarding destination.
125
-    *
126
-    * @param string $environmentUuid
127
-    * @param int    $destId
128
-    * @return OperationResponse
129
-    */
123
+    /**
124
+     * Disables a log forwarding destination.
125
+     *
126
+     * @param string $environmentUuid
127
+     * @param int    $destId
128
+     * @return OperationResponse
129
+     */
130 130
     public function enable($environmentUuid, $destId)
131 131
     {
132 132
         return new OperationResponse(
@@ -137,18 +137,18 @@  discard block
 block discarded – undo
137 137
         );
138 138
     }
139 139
 
140
-   /**
141
-    * Updates a log forwarding destination.
142
-    *
143
-    * @param string $environmentUuid
144
-    * @param int    $destId
145
-    * @param string $label
146
-    * @param array  $sources
147
-    * @param string $consumer
148
-    * @param array  $creds
149
-    * @param string $address
150
-    * @return OperationResponse
151
-    */
140
+    /**
141
+     * Updates a log forwarding destination.
142
+     *
143
+     * @param string $environmentUuid
144
+     * @param int    $destId
145
+     * @param string $label
146
+     * @param array  $sources
147
+     * @param string $consumer
148
+     * @param array  $creds
149
+     * @param string $address
150
+     * @return OperationResponse
151
+     */
152 152
     public function update($environmentUuid, $destId, $label, $sources, $consumer, $creds, $address)
153 153
     {
154 154
 
Please login to merge, or discard this patch.
src/Endpoints/Environments.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     {
91 91
 
92 92
         $options  = [
93
-          'form_params' => $config,
93
+            'form_params' => $config,
94 94
         ];
95 95
 
96 96
         return new OperationResponse(
Please login to merge, or discard this patch.