Skip to content

Commit

Permalink
Meet coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Seymour committed Dec 10, 2012
1 parent 9110c61 commit 945db70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/Resource.php
Expand Up @@ -238,7 +238,7 @@ public function __invoke($request, array $params = array()) {
$keys = array_map($keyMap, $data);

$state[] = array_combine($keys, array_map($stateMap, $data));
if(is_callable($invoke)) {
if (is_callable($invoke)) {
$result = call_user_func_array($invoke, array_merge(array($request), $data));
}
$state[] = array_combine($keys, array_map($stateMap, $data));
Expand Down

0 comments on commit 945db70

Please sign in to comment.