Skip to content

Commit

Permalink
Update CS
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 10, 2016
1 parent 878a838 commit b85604f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions Authorization.php
Expand Up @@ -58,9 +58,9 @@ public function setAuthenticator(Guard $auth)
*
* @param \Orchestra\Contracts\Memory\Provider $memory
*
* @return $this
*
* @throws \RuntimeException if $memory has been attached.
*
* @return $this
*/
public function attach(Provider $memory = null)
{
Expand Down Expand Up @@ -128,9 +128,9 @@ public function allow($roles, $actions, $allow = true)
*
* @param string $action A string of action name
*
* @return bool
*
* @throws \InvalidArgumentException
*
* @return bool
*/
public function can($action)
{
Expand Down Expand Up @@ -166,9 +166,9 @@ public function canIf($action)
* @param string|array $roles A string or an array of roles
* @param string $action A string of action name
*
* @return bool
*
* @throws \InvalidArgumentException
*
* @return bool
*/
public function check($roles, $action)
{
Expand Down Expand Up @@ -251,9 +251,9 @@ public function __call($method, array $parameters)
*
* @param string $method
*
* @return array
*
* @throws \InvalidArgumentException
*
* @return array
*/
protected function resolveDynamicExecution($method)
{
Expand Down
8 changes: 4 additions & 4 deletions Fluent.php
Expand Up @@ -45,9 +45,9 @@ public function __construct($name)
*
* @param string $key
*
* @return bool
*
* @throws \InvalidArgumentException
*
* @return bool
*/
public function add($key)
{
Expand Down Expand Up @@ -191,9 +191,9 @@ public function has($key)
*
* @param string $key
*
* @return bool
*
* @throws \InvalidArgumentException
*
* @return bool
*/
public function remove($key)
{
Expand Down
12 changes: 6 additions & 6 deletions Permission.php
Expand Up @@ -50,9 +50,9 @@ trait Permission
* @param string|array $roles A string or an array of roles
* @param string $action A string of action name
*
* @return bool
*
* @throws \InvalidArgumentException
*
* @return bool
*/
public function checkAuthorization($roles, $action)
{
Expand Down Expand Up @@ -89,9 +89,9 @@ public function checkAuthorization($roles, $action)
* @param string|array $actions A string or an array of action name
* @param bool $allow
*
* @return void
*
* @throws \InvalidArgumentException
*
* @return void
*/
public function setAuthorization($roles, $actions, $allow = true)
{
Expand All @@ -114,9 +114,9 @@ public function setAuthorization($roles, $actions, $allow = true)
* @param array $actions
* @param bool $allow
*
* @return bool
*
* @throws \InvalidArgumentException
*
* @return bool
*/
protected function groupedAssignAction($role, array $actions, $allow = true)
{
Expand Down

0 comments on commit b85604f

Please sign in to comment.