@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::table('humanresources', function (Blueprint $table) { |
|
15 | + Schema::table('humanresources', function(Blueprint $table) { |
|
16 | 16 | $table->string('calendar_link')->nullable(); |
17 | 17 | }); |
18 | 18 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function down() |
26 | 26 | { |
27 | - Schema::table('humanresources', function (Blueprint $table) { |
|
27 | + Schema::table('humanresources', function(Blueprint $table) { |
|
28 | 28 | $table->dropColumn('calendar_link'); |
29 | 29 | }); |
30 | 30 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | $url = parse_url($this->wrappedObject->social_facebook); |
25 | 25 | |
26 | - if(!$this->wrappedObject->social_facebook || !array_key_exists('path', $url)){ |
|
26 | + if (!$this->wrappedObject->social_facebook || !array_key_exists('path', $url)) { |
|
27 | 27 | return "<img class=\"img-thumbnail\" src=\"//placehold.it/100x100\" height=\"100\" width=\"100\" alt=\"{$this->wrappedObject->name}\"/>"; |
28 | 28 | } |
29 | 29 |