Skip to content

Commit

Permalink
Merge pull request #12 from owen-it/analysis-zYyp9z
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
anteriovieira committed Nov 16, 2015
2 parents c37f580 + c5b7fb0 commit 8ca298f
Show file tree
Hide file tree
Showing 5 changed files with 378 additions and 384 deletions.
3 changes: 0 additions & 3 deletions src/AuditingServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

/**
* This is the owen auditing service provider class.
*
*/
class AuditingServiceProvider extends ServiceProvider
{
Expand Down Expand Up @@ -39,7 +38,6 @@ protected function setupMigrations()
*/
public function register()
{

}

/**
Expand All @@ -51,5 +49,4 @@ public function provides()
{
return [];
}

}
37 changes: 17 additions & 20 deletions src/OwenIt/Auditing/Auditing.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,27 @@
namespace OwenIt\Auditing;

use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Log;

class Auditing extends Model
{
use AuditingTrait;

use AuditingTrait;
/**
* @var bool
*/
protected $auditEnabled = true;

/**
* @var bool
*/
protected $auditEnabled = true;
/**
* @var array
*/
protected $auditableTypes = ['created', 'saved', 'deleted'];

/**
* @var array
*/
protected $auditableTypes = ['created', 'saved', 'deleted'];
/**
* @var string
*/
public static $logCustomMessage = '{type} in {created_at}';

/**
* @var string
*/
public static $logCustomMessage = '{type} in {created_at}';

/**
* @var array
*/
public static $logCustomFields = [];
/**
* @var array
*/
public static $logCustomFields = [];
}
Loading

0 comments on commit 8ca298f

Please sign in to comment.