From ceeb6d4d8f1a84f92df53a6e165f4fb28981eba1 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Tue, 7 Jan 2020 17:16:07 +0300 Subject: [PATCH] [PEAR DB_DataObject] Make static methods in Cast actually static --- extlib/DB/DataObject/Cast.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/extlib/DB/DataObject/Cast.php b/extlib/DB/DataObject/Cast.php index 114900862d..e3395af6c8 100644 --- a/extlib/DB/DataObject/Cast.php +++ b/extlib/DB/DataObject/Cast.php @@ -105,7 +105,7 @@ class DB_DataObject_Cast * @access public */ - public function blob($value) + public static function blob($value) { $r = new DB_DataObject_Cast; $r->type = 'blob'; @@ -125,7 +125,7 @@ class DB_DataObject_Cast * @access public */ - public function string($value) + public static function string($value) { $r = new DB_DataObject_Cast; $r->type = 'string'; @@ -144,7 +144,7 @@ class DB_DataObject_Cast * @access public */ - public function sql($value) + public static function sql($value) { $r = new DB_DataObject_Cast; $r->type = 'sql'; @@ -170,7 +170,7 @@ class DB_DataObject_Cast * @author therion 5 at hotmail */ - public function dateTime() + public static function dateTime() { $args = func_get_args(); switch (count($args)) { @@ -234,7 +234,7 @@ class DB_DataObject_Cast * @access public */ - public function date() + public static function date() { $args = func_get_args(); switch (count($args)) { @@ -295,7 +295,7 @@ class DB_DataObject_Cast * @access public * @author therion 5 at hotmail */ - public function time() + public static function time() { $args = func_get_args(); switch (count($args)) {