From a2c179b9a962c369416dd0746fb528820cf35bf4 Mon Sep 17 00:00:00 2001 From: Emre Sokullu Date: Tue, 13 Nov 2018 00:25:25 -0800 Subject: [PATCH] bugfix --- src/Pho/Framework/Handlers/Gateway.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pho/Framework/Handlers/Gateway.php b/src/Pho/Framework/Handlers/Gateway.php index 9683274..eed9176 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(__CLASS__, $name); + throw new InvalidParticleMethodException(get_class($this->particle), $name); } -} \ No newline at end of file +}