Skip to content

Commit

Permalink
Fixes exception.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jan 24, 2020
1 parent 8a8616a commit 3a2c2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Transformer.php
Expand Up @@ -28,7 +28,7 @@ public function handle($instance)
} elseif ($instance instanceof BaseFluent) {
$transformable = new Fluent($instance->getAttributes());
} else {
throw new InvalidArgumentException("Unable to transform {get_class($instance)}.");
throw new InvalidArgumentException('Unable to transform '.\get_class($instance).'."');
}

return $transformable->transform($this);
Expand Down

0 comments on commit 3a2c2da

Please sign in to comment.