Completed
Push — develop ( 9936f4...fe1589 )
by Neil
05:31
created
app/Api/Controllers/APIController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App\Devices;
6 6
 use App\User;
7
-
8
-use App\Http\Requests;
9 7
 use Illuminate\Http\Request;
10 8
 
11 9
 class ApiController extends Controller
Please login to merge, or discard this patch.
app/Devices.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,14 +16,14 @@
 block discarded – undo
16 16
      */
17 17
     public $timestamps = false;
18 18
 
19
-    public function getIpAttribute( $ip )
19
+    public function getIpAttribute($ip)
20 20
     {
21
-        return inet_ntop( $ip );
21
+        return inet_ntop($ip);
22 22
     }
23 23
 
24
-    public function setIpAttribute( $ip )
24
+    public function setIpAttribute($ip)
25 25
     {
26
-        $this->attributes['ip'] = inet_pton( $ip );
26
+        $this->attributes['ip'] = inet_pton($ip);
27 27
     }
28 28
 
29 29
     // -- Define Reletionships --
Please login to merge, or discard this patch.