Completed
Push — dev ( 62b398...b3c6af )
by Alies
04:06
created
resources/views/vendor/sitemap/xml.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -7,31 +7,31 @@  discard block
 block discarded – undo
7 7
 <?php
8 8
 
9 9
 if (!empty($item['translations'])) {
10
-  foreach ($item['translations'] as $translation) {
10
+    foreach ($item['translations'] as $translation) {
11 11
     echo "\t\t" . '<xhtml:link rel="alternate" hreflang="' . $translation['language'] . '" href="' . $translation['url'] . '" />' . "\n";
12
-  }
12
+    }
13 13
 }
14 14
 
15 15
 if (!empty($item['alternates'])) {
16
-  foreach ($item['alternates'] as $alternate) {
16
+    foreach ($item['alternates'] as $alternate) {
17 17
     echo "\t\t" . '<xhtml:link rel="alternate" media="' . $alternate['media'] . '" href="' . $alternate['url'] . '" />' . "\n";
18
-  }
18
+    }
19 19
 }
20 20
 
21 21
 if ($item['priority'] !== null) {
22
-  echo "\t\t" . '<priority>' . $item['priority'] . '</priority>' . "\n";
22
+    echo "\t\t" . '<priority>' . $item['priority'] . '</priority>' . "\n";
23 23
 }
24 24
 
25 25
 if ($item['lastmod'] !== null) {
26
-  echo "\t\t" . '<lastmod>' . date('Y-m-d\TH:i:sP', strtotime($item['lastmod'])) . '</lastmod>' . "\n";
26
+    echo "\t\t" . '<lastmod>' . date('Y-m-d\TH:i:sP', strtotime($item['lastmod'])) . '</lastmod>' . "\n";
27 27
 }
28 28
 
29 29
 if ($item['freq'] !== null) {
30
-  echo "\t\t" . '<changefreq>' . $item['freq'] . '</changefreq>' . "\n";
30
+    echo "\t\t" . '<changefreq>' . $item['freq'] . '</changefreq>' . "\n";
31 31
 }
32 32
 
33 33
 if (!empty($item['images'])) {
34
-  foreach($item['images'] as $image) {
34
+    foreach($item['images'] as $image) {
35 35
     echo "\t\t" . '<image:image>' . "\n";
36 36
     echo "\t\t\t" . '<image:loc>' . $image['url'] . '</image:loc>' . "\n";
37 37
     if (isset($image['title'])) echo "\t\t\t" . '<image:title>' . $image['title'] . '</image:title>' . "\n";
@@ -39,11 +39,11 @@  discard block
 block discarded – undo
39 39
     if (isset($image['geo_location'])) echo "\t\t\t" . '<image:geo_location>' . $image['geo_location'] . '</image:geo_location>' . "\n";
40 40
     if (isset($image['license'])) echo "\t\t\t" . '<image:license>' . $image['license'] . '</image:license>' . "\n";
41 41
     echo "\t\t" . '</image:image>' . "\n";
42
-  }
42
+    }
43 43
 }
44 44
 
45 45
 if (!empty($item['videos'])) {
46
-  foreach($item['videos'] as $video) {
46
+    foreach($item['videos'] as $video) {
47 47
     echo "\t\t" . '<video:video>' . "\n";
48 48
     if (isset($video['thumbnail_loc'])) echo "\t\t\t" . '<video:thumbnail_loc>' . $video['thumbnail_loc'] . '</video:thumbnail_loc>' . "\n";
49 49
     if (isset($video['title'])) echo "\t\t\t" . '<video:title><![CDATA[' . $video['title'] . ']]></video:title>' . "\n";
@@ -58,13 +58,13 @@  discard block
 block discarded – undo
58 58
     if (isset($video['requires_subscription'])) echo "\t\t\t" . '<video:requires_subscription>' . $video['requires_subscription'] . '</video:requires_subscription>' . "\n";
59 59
     if (isset($video['live'])) echo "\t\t\t" . '<video:live>' . $video['live'] . '</video:live>' . "\n";
60 60
     if (isset($video['player_loc'])) echo "\t\t\t" . '<video:player_loc allow_embed="'. $video['player_loc']['allow_embed'] .'" autoplay="'.
61
-      $video['player_loc']['autoplay'] .'">' . $video['player_loc']['player_loc'] . '</video:player_loc>' . "\n";
61
+        $video['player_loc']['autoplay'] .'">' . $video['player_loc']['player_loc'] . '</video:player_loc>' . "\n";
62 62
     if (isset($video['restriction'])) echo "\t\t\t" . '<video:restriction relationship="'.$video['restriction']['relationship'].'">' . $video['restriction']['restriction'] . '</video:restriction>' . "\n";
63 63
     if (isset($video['gallery_loc'])) echo "\t\t\t" . '<video:gallery_loc title="'.$video['gallery_loc']['title'].'">' . $video['gallery_loc']['gallery_loc'] . '</video:gallery_loc>' . "\n";
64 64
     if (isset($video['price'])) echo "\t\t\t" . '<video:price currency="'.$video['price']['currency'].'">' . $video['price']['price'] . '</video:price>' . "\n";
65 65
     if (isset($video['uploader'])) echo "\t\t\t" . '<video:uploader info="'.$video['uploader']['info'].'">' . $video['uploader']['uploader'] . '</video:uploader>' . "\n";
66 66
     echo "\t\t" . '</video:video>' . "\n";
67
-  }
67
+    }
68 68
 }
69 69
 
70 70
 ?>
Please login to merge, or discard this patch.
laravel/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000001_create_password_resets_table.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -5,30 +5,30 @@
 block discarded – undo
5 5
 
6 6
 class CreatePasswordResetsTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('password_resets', function(Blueprint $table)
16
-		{
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('password_resets', function(Blueprint $table)
16
+        {
17 17
             $table->string('email')->index();
18 18
             $table->string('token');
19 19
             $table->timestamp('created_at')->nullable();
20
-		});
21
-	}
20
+        });
21
+    }
22 22
 
23 23
 
24
-	/**
25
-	 * Reverse the migrations.
26
-	 *
27
-	 * @return void
28
-	 */
29
-	public function down()
30
-	{
31
-		Schema::dropIfExists('password_resets');
32
-	}
24
+    /**
25
+     * Reverse the migrations.
26
+     *
27
+     * @return void
28
+     */
29
+    public function down()
30
+    {
31
+        Schema::dropIfExists('password_resets');
32
+    }
33 33
 
34 34
 }
Please login to merge, or discard this patch.
database/migrations/2019_01_25_141703_create_sessions_table.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -5,33 +5,33 @@
 block discarded – undo
5 5
 
6 6
 class CreateSessionsTable extends Migration {
7 7
 
8
-	/**
9
-	 * Run the migrations.
10
-	 *
11
-	 * @return void
12
-	 */
13
-	public function up()
14
-	{
15
-		Schema::create('sessions', function(Blueprint $table)
16
-		{
17
-			$table->string('id', 191)->unique();
18
-			$table->integer('admin_id')->unsigned()->nullable();
19
-			$table->string('ip_address', 45)->nullable();
20
-			$table->text('user_agent', 65535)->nullable();
21
-			$table->text('payload', 65535);
22
-			$table->integer('last_activity');
23
-		});
24
-	}
8
+    /**
9
+     * Run the migrations.
10
+     *
11
+     * @return void
12
+     */
13
+    public function up()
14
+    {
15
+        Schema::create('sessions', function(Blueprint $table)
16
+        {
17
+            $table->string('id', 191)->unique();
18
+            $table->integer('admin_id')->unsigned()->nullable();
19
+            $table->string('ip_address', 45)->nullable();
20
+            $table->text('user_agent', 65535)->nullable();
21
+            $table->text('payload', 65535);
22
+            $table->integer('last_activity');
23
+        });
24
+    }
25 25
 
26 26
 
27
-	/**
28
-	 * Reverse the migrations.
29
-	 *
30
-	 * @return void
31
-	 */
32
-	public function down()
33
-	{
34
-		Schema::drop('sessions');
35
-	}
27
+    /**
28
+     * Reverse the migrations.
29
+     *
30
+     * @return void
31
+     */
32
+    public function down()
33
+    {
34
+        Schema::drop('sessions');
35
+    }
36 36
 
37 37
 }
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000000_create_admins_table.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -4,36 +4,36 @@
 block discarded – undo
4 4
 use Illuminate\Database\Schema\Blueprint;
5 5
 
6 6
 class CreateAdminsTable extends Migration {
7
-	/**
8
-	 * Run the migrations.
9
-	 *
10
-	 * @return void
11
-	 */
12
-	public function up()
13
-	{
14
-		Schema::create('admins', function(Blueprint $table)
15
-		{
7
+    /**
8
+     * Run the migrations.
9
+     *
10
+     * @return void
11
+     */
12
+    public function up()
13
+    {
14
+        Schema::create('admins', function(Blueprint $table)
15
+        {
16 16
             $table->bigIncrements('id');
17 17
             $table->string('name');
18 18
             $table->string('email')->unique();
19 19
             $table->timestamp('email_verified_at')->nullable();
20 20
             $table->string('password');
21 21
             $table->rememberToken();
22
-			$table->string('locale');
23
-			$table->string('timezone');
24
-			$table->string('slug')->unique();
25
-			$table->dateTime('last_access_at')->nullable();
26
-			$table->timestamps();
27
-		});
28
-	}
22
+            $table->string('locale');
23
+            $table->string('timezone');
24
+            $table->string('slug')->unique();
25
+            $table->dateTime('last_access_at')->nullable();
26
+            $table->timestamps();
27
+        });
28
+    }
29 29
 
30
-	/**
31
-	 * Reverse the migrations.
32
-	 *
33
-	 * @return void
34
-	 */
35
-	public function down()
36
-	{
37
-		Schema::dropIfExists('admins');
38
-	}
30
+    /**
31
+     * Reverse the migrations.
32
+     *
33
+     * @return void
34
+     */
35
+    public function down()
36
+    {
37
+        Schema::dropIfExists('admins');
38
+    }
39 39
 }
Please login to merge, or discard this patch.