Skip to content
This repository has been archived by the owner on Dec 27, 2019. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
aocneanu authored and StyleCIBot committed Jan 20, 2018
1 parent be7289a commit ec13eb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/Exceptions/ContactConfigException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

use LaravelEnso\Helpers\app\Exceptions\EnsoException;

class ContactException extends EnsoException
class ContactConfigException extends EnsoException
{
}
2 changes: 1 addition & 1 deletion src/app/Handlers/ConfigMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function class()
{
$contactable = config('enso.contacts.contactables.'.$this->type);

if (!$contactable) {
if (! $contactable) {
throw new ContactConfigException(__(
'Entity :entity does not exist in enso/contacts.php config file',
['entity' => $this->type]
Expand Down
2 changes: 1 addition & 1 deletion src/app/Models/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Contact extends Model

protected $fillable = [
'contactable_id', 'contactable_type', 'first_name', 'last_name',
'phone', 'email', 'obs', 'is_active'
'phone', 'email', 'obs', 'is_active',
];

protected $attributes = ['is_active' => false];
Expand Down

0 comments on commit ec13eb2

Please sign in to comment.