Skip to content

Input group implementation #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix function parameter
  • Loading branch information
joserick committed May 19, 2020
commit cff8279e1dfae8472da85ad487d6c3d93f90bb43
6 changes: 3 additions & 3 deletions src/FormService.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ public function url(string $url = null): FormService
* Set route for links and form action
*
* @param string $route
* @param array $params
* @param array|string $params
* @return FormService
*/
public function route(string $route, array $params = []): FormService
public function route(string $route, $params = []): FormService
{
return $this->_set('url', route($route, $params));
}
Expand Down Expand Up @@ -839,7 +839,7 @@ public function labelAttrs(array $attrs = []): FormService
/**
* Disable input states (valid and invalid classes) and error message
*
* @param string $disable
* @param bool $disable
* @return FormService
*/
public function disableValidation(bool $disable = true): FormService
Expand Down