Completed
Pull Request — master (#11)
by Karl
02:49
created
app/Repositories/Contracts/UserRepositoryInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 {
5 5
     public function confirm($token = null);
6 6
 
7
-    public function create($data = []);
7
+    public function create($data = [ ]);
8 8
 
9
-    public function firstOrCreate($data = []);
9
+    public function firstOrCreate($data = [ ]);
10 10
 
11
-    public function getById($id = null, $options = []);
11
+    public function getById($id = null, $options = [ ]);
12 12
 
13
-    public function update($id = null, $data = []);
13
+    public function update($id = null, $data = [ ]);
14 14
 }
Please login to merge, or discard this patch.
app/Repositories/Contracts/SearchRepositoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 interface SearchRepositoryInterface
4 4
 {
5
-    public function create($userId = null, $data = []);
5
+    public function create($userId = null, $data = [ ]);
6 6
 
7 7
     public function getActive($userEmail = null);
8 8
 }
Please login to merge, or discard this patch.
database/factories/SearchFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 |--------------------------------------------------------------------------
7 7
 */
8 8
 
9
-$factory->define(\JobApis\JobsToMail\Models\Search::class, function (Faker\Generator $faker) {
9
+$factory->define(\JobApis\JobsToMail\Models\Search::class, function(Faker\Generator $faker) {
10 10
     return [
11 11
         'keyword' => $faker->word(),
12 12
         'location' => $faker->word().', '.$this->faker->word(),
13 13
     ];
14 14
 });
15
-$factory->state(\JobApis\JobsToMail\Models\Search::class, 'deleted', function (Faker\Generator $faker) {
15
+$factory->state(\JobApis\JobsToMail\Models\Search::class, 'deleted', function(Faker\Generator $faker) {
16 16
     return [
17 17
         'deleted_at' => $faker->dateTimeThisYear(),
18 18
     ];
Please login to merge, or discard this patch.
resources/views/vendor/notifications/email-plain.blade.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! empty($greeting)) {
3
+if (!empty($greeting)) {
4 4
     echo $greeting, "\n\n";
5 5
 } else {
6 6
     echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
7 7
 }
8 8
 
9
-if (! empty($introLines)) {
9
+if (!empty($introLines)) {
10 10
     echo implode("\n", $introLines), "\n\n";
11 11
 }
12 12
 
13 13
 if (isset($jobListings)) {
14 14
     foreach ($jobListings as $listing) {
15
-        echo "{$listing['text']}: {$listing['link']}", "\n";
16
-        if ($listing['date']) {
17
-            echo "Posted on {$listing['date']}", "\n\n";
15
+        echo "{$listing[ 'text' ]}: {$listing[ 'link' ]}", "\n";
16
+        if ($listing[ 'date' ]) {
17
+            echo "Posted on {$listing[ 'date' ]}", "\n\n";
18 18
         }
19 19
     }
20 20
 }
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     echo "{$actionText}: {$actionUrl}", "\n\n";
24 24
 }
25 25
 
26
-if (! empty($outroLines)) {
26
+if (!empty($outroLines)) {
27 27
     echo implode("\n", $outroLines), "\n\n";
28 28
 }
29 29
 
Please login to merge, or discard this patch.