Passed
Push — master ( 88369a...689c77 )
by Mahmoud
16:27 queued 13:01
created
src/Migrations/2020_07_22_180122_create_ipblockers_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('ipblockers', function (Blueprint $table) {
16
+        Schema::create('ipblockers', function(Blueprint $table) {
17 17
             $table->bigIncrements('id');
18 18
             $table->string('ip_address', 45);
19 19
             $table->boolean('status')->default(false);
Please login to merge, or discard this patch.
src/Models/IPBlocker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public static function isBlocked()
22 22
     {
23 23
         $obj = false;
24
-        if(self::where(['ip_address' => \Request::ip(), 'status' => true])->count()) {
24
+        if (self::where(['ip_address' => \Request::ip(), 'status' => true])->count()) {
25 25
             $obj = true;
26 26
         }
27 27
         return $obj;
Please login to merge, or discard this patch.