Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
Daniel Lennartz
vtigercrm
Commits
6d53a956
Commit
6d53a956
authored
2 years ago
by
Prasad
Browse files
Options
Downloads
Patches
Plain Diff
Fixed static function signatures in PEAR
parent
c0f7a348
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PEAR.php
+5
-5
5 additions, 5 deletions
PEAR.php
with
5 additions
and
5 deletions
PEAR.php
+
5
−
5
View file @
6d53a956
...
@@ -234,7 +234,7 @@ class PEAR
...
@@ -234,7 +234,7 @@ class PEAR
* @return mixed A reference to the variable. If not set it will be
* @return mixed A reference to the variable. If not set it will be
* auto initialised to NULL.
* auto initialised to NULL.
*/
*/
function
&
getStaticProperty
(
$class
,
$var
)
static
function
&
getStaticProperty
(
$class
,
$var
)
{
{
static
$properties
;
static
$properties
;
return
$properties
[
$class
][
$var
];
return
$properties
[
$class
][
$var
];
...
@@ -252,7 +252,7 @@ class PEAR
...
@@ -252,7 +252,7 @@ class PEAR
* @param mixed $args The arguments to pass to the function
* @param mixed $args The arguments to pass to the function
* @return void
* @return void
*/
*/
function
registerShutdownFunc
(
$func
,
$args
=
array
())
static
function
registerShutdownFunc
(
$func
,
$args
=
array
())
{
{
$GLOBALS
[
'_PEAR_shutdown_funcs'
][]
=
array
(
$func
,
$args
);
$GLOBALS
[
'_PEAR_shutdown_funcs'
][]
=
array
(
$func
,
$args
);
}
}
...
@@ -271,7 +271,7 @@ class PEAR
...
@@ -271,7 +271,7 @@ class PEAR
* @access public
* @access public
* @return bool true if parameter is an error
* @return bool true if parameter is an error
*/
*/
function
isError
(
$data
,
$code
=
null
)
static
function
isError
(
$data
,
$code
=
null
)
{
{
if
(
is_a
(
$data
,
'PEAR_Error'
))
{
if
(
is_a
(
$data
,
'PEAR_Error'
))
{
if
(
is_null
(
$code
))
{
if
(
is_null
(
$code
))
{
...
@@ -327,7 +327,7 @@ class PEAR
...
@@ -327,7 +327,7 @@ class PEAR
* @since PHP 4.0.5
* @since PHP 4.0.5
*/
*/
function
setErrorHandling
(
$mode
=
null
,
$options
=
null
)
static
function
setErrorHandling
(
$mode
=
null
,
$options
=
null
)
{
{
if
(
isset
(
$this
)
&&
is_a
(
$this
,
'PEAR'
))
{
if
(
isset
(
$this
)
&&
is_a
(
$this
,
'PEAR'
))
{
$setmode
=
$this
->
_default_error_mode
;
$setmode
=
$this
->
_default_error_mode
;
...
@@ -516,7 +516,7 @@ class PEAR
...
@@ -516,7 +516,7 @@ class PEAR
* @see PEAR::setErrorHandling
* @see PEAR::setErrorHandling
* @since PHP 4.0.5
* @since PHP 4.0.5
*/
*/
function
&
raiseError
(
$message
=
null
,
static
function
&
raiseError
(
$message
=
null
,
$code
=
null
,
$code
=
null
,
$mode
=
null
,
$mode
=
null
,
$options
=
null
,
$options
=
null
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment