diff --git a/src/SirenPHP/Entity.php b/src/SirenPHP/Entity.php index 84e2462..851b4a8 100644 --- a/src/SirenPHP/Entity.php +++ b/src/SirenPHP/Entity.php @@ -22,7 +22,7 @@ public function setProperties(array $properties) { public function appendEntity(array $rel, BaseEntity $entity) { foreach ($rel as $r) { if (!is_string($r)) { - throw new \InvalidArgumentExcpetion('rel must be an array of strings') + throw new \InvalidArgumentExcpetion('rel must be an array of strings'); } } $copyEntity = clone $entity;