Skip to content

Commit

Permalink
Merge pull request #436 from z-song/analysis-zG2mmo
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
z-song authored Feb 20, 2017
2 parents 9cf0202 + 1ffeb4e commit 7182df4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ public function tools(Closure $callback)
}

/**
* Disable form submit
* Disable form submit.
*
* @return $this
*/
Expand All @@ -1070,7 +1070,7 @@ public function disableReset()

return $this;
}

/**
* Get current resource route url.
*
Expand Down
2 changes: 0 additions & 2 deletions src/Form/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ public function submitButton()
<button type="submit" class="btn btn-info pull-right">$text</button>
</div>
EOT;

}

/**
Expand All @@ -430,7 +429,6 @@ public function resetButton()
<button type="reset" class="btn btn-warning">$text</button>
</div>
EOT;

}

/**
Expand Down
3 changes: 1 addition & 2 deletions src/Form/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct(Builder $builder)
*/
protected function backButton()
{
$script = <<<EOT
$script = <<<'EOT'
$('.form-history-back').on('click', function () {
event.preventDefault();
history.back(1);
Expand Down Expand Up @@ -132,7 +132,6 @@ public function render()
}

return $this->tools->map(function ($tool) {

if ($tool instanceof Renderable) {
return $tool->render();
}
Expand Down
1 change: 0 additions & 1 deletion src/Providers/AdminServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public function register()
if (is_null(config('auth.guards.admin'))) {
$this->setupAuth();
}

});

$this->registerRouteMiddleware();
Expand Down

0 comments on commit 7182df4

Please sign in to comment.