From f4bf267b96c3c37b7e46a2ee77919e03ab36a994 Mon Sep 17 00:00:00 2001 From: Emre Sokullu Date: Tue, 13 Nov 2018 00:29:17 -0800 Subject: [PATCH] Update Gateway.php --- src/Pho/Framework/Handlers/Gateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pho/Framework/Handlers/Gateway.php b/src/Pho/Framework/Handlers/Gateway.php index eed9176..dd49421 100644 --- a/src/Pho/Framework/Handlers/Gateway.php +++ b/src/Pho/Framework/Handlers/Gateway.php @@ -150,6 +150,6 @@ public function switch(string $name, array $args) /*: \Pho\Lib\Graph\EntityInte } } } - throw new InvalidParticleMethodException(get_class($this->particle), $name); + throw new InvalidParticleMethodException(get_class($this->particle), $name, (string) $this->particle->id()); } }