Completed
Push — master ( 6e934f...b0da61 )
by soroush
05:25 queued 02:33
created
src/InjamLaravelPackage.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -170,12 +170,12 @@  discard block
 block discarded – undo
170 170
      * @return array
171 171
      */
172 172
     public function addTracker($trackingPhysicalId,
173
-                               $trackerMobile,
174
-                               $title=null,
175
-                               $description=null,
176
-                               $trackingName=null,
177
-                               $trackingMobile=null,
178
-                               $trackingAvatar=null)
173
+                                $trackerMobile,
174
+                                $title=null,
175
+                                $description=null,
176
+                                $trackingName=null,
177
+                                $trackingMobile=null,
178
+                                $trackingAvatar=null)
179 179
     {
180 180
         $params = [
181 181
             'tracking_physical_id'  =>  $trackingPhysicalId,
@@ -214,11 +214,11 @@  discard block
 block discarded – undo
214 214
      * @throws InvalidArgument
215 215
      */
216 216
     public function addGeoFenceWebhook($objectType,
217
-                                       $objectPhysicalId,
218
-                                       $targetPoint,
219
-                                       $radius,
220
-                                       $endpoint,
221
-                                       $detect=null)
217
+                                        $objectPhysicalId,
218
+                                        $targetPoint,
219
+                                        $radius,
220
+                                        $endpoint,
221
+                                        $detect=null)
222 222
     {
223 223
         $params = [
224 224
             'object_type'           =>  $objectType,
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @package Aghasoroush\InjamLaravelPackage
12 12
  * @author [email protected]
13 13
  */
14
-class InjamLaravelPackage{
14
+class InjamLaravelPackage {
15 15
 
16 16
     /**
17 17
      * Injam.io API key
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * @throws InvalidArgumentException
129 129
      * @throws InvalidResponseException
130 130
      */
131
-    protected function sendRequest($path, $method, $body=null)
131
+    protected function sendRequest($path, $method, $body = null)
132 132
     {
133 133
         $method = strtoupper($method);
134 134
         $resp = null;
@@ -171,11 +171,11 @@  discard block
 block discarded – undo
171 171
      */
172 172
     public function addTracker($trackingPhysicalId,
173 173
                                $trackerMobile,
174
-                               $title=null,
175
-                               $description=null,
176
-                               $trackingName=null,
177
-                               $trackingMobile=null,
178
-                               $trackingAvatar=null)
174
+                               $title = null,
175
+                               $description = null,
176
+                               $trackingName = null,
177
+                               $trackingMobile = null,
178
+                               $trackingAvatar = null)
179 179
     {
180 180
         $params = [
181 181
             'tracking_physical_id'  =>  $trackingPhysicalId,
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
                                        $targetPoint,
219 219
                                        $radius,
220 220
                                        $endpoint,
221
-                                       $detect=null)
221
+                                       $detect = null)
222 222
     {
223 223
         $params = [
224 224
             'object_type'           =>  $objectType,
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             'injam-laravel-package'
21 21
         );
22 22
 
23
-        $this->app->bind('InjamLaravelPackage', function () {
23
+        $this->app->bind('InjamLaravelPackage', function() {
24 24
             return new InjamLaravelPackage();
25 25
         });
26 26
     }
Please login to merge, or discard this patch.