From 99935dfe6e039fe5b71335dcf8bd36a250d18f87 Mon Sep 17 00:00:00 2001 From: Jeremy Simon Date: Thu, 5 Mar 2020 15:40:24 -0500 Subject: [PATCH] Added self prefix to validActions consts, preventing PHP deprecation warning --- lib/Personator.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Personator.php b/lib/Personator.php index 3b7077d..7c82131 100644 --- a/lib/Personator.php +++ b/lib/Personator.php @@ -22,10 +22,10 @@ class Personator { const APPEND = 'Append'; private $validActions = [ - CHECK, - VERIFY, - MOVE, - APPEND + self::CHECK, + self::VERIFY, + self::MOVE, + self::APPEND ]; private $licenseKey; @@ -72,4 +72,4 @@ public function doRequest(array $actions, array $addressParams) { } -} \ No newline at end of file +}