update webpatser/laravel-uuid to version 3
Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit

This commit is contained in:
2020-06-20 12:36:34 -04:00
parent a530e8fd78
commit 2cdf7dd1cf
94 changed files with 1846 additions and 1848 deletions

3
src/Domain/Core/Person.php Normal file → Executable file
View File

@@ -2,6 +2,7 @@
namespace XaiCorp\AbcParser\Domain\Core;
use Enzyme\Axiom\Atoms\StringAtom;
use Exception;
use Webpatser\Uuid\Uuid;
use XaiCorp\AbcParser\Domain\Atoms\EmailAtom;
@@ -69,7 +70,7 @@ class Person implements EntityInterface
public function get($attribute)
{
if (!$this->has($attribute)) {
throw new \Exception('Cannot access attribute on person');
throw new Exception('Cannot access attribute on person');
}
return $this->{$attribute};