@@ -4,11 +4,11 @@ |
||
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 | } |
@@ -2,7 +2,7 @@ |
||
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 | } |
@@ -6,13 +6,13 @@ |
||
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 | ]; |
@@ -1,20 +1,20 @@ discard block |
||
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 |
||
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 |