From ccb149a75b12139b565dee52085cc7e9893eacfc Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Sun, 17 Apr 2022 01:20:26 -0300 Subject: [PATCH] More PHPDoc to Restful class --- system/engine/restful.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/engine/restful.php b/system/engine/restful.php index 673b804..9190d33 100644 --- a/system/engine/restful.php +++ b/system/engine/restful.php @@ -161,6 +161,13 @@ class RESTful extends Controller { } } + /** + * Return true or false for data type + * + * @param string $type Type to test + * @param string $data Data to test + * @return bool + */ static function __testType($type, $data){ switch ($type) {