mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 11:32:40 +00:00
Changed all public 'var' declarations to be 'public $var'
This commit is contained in:
parent
4c93fc9e52
commit
850ca02bb6
306 changed files with 1728 additions and 1728 deletions
|
@ -35,7 +35,7 @@ class Validation extends Object {
|
|||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $check = null;
|
||||
public $check = null;
|
||||
|
||||
/**
|
||||
* Set to a valid regular expression in the class methods.
|
||||
|
@ -44,7 +44,7 @@ class Validation extends Object {
|
|||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $regex = null;
|
||||
public $regex = null;
|
||||
|
||||
/**
|
||||
* Some complex patterns needed in multiple places
|
||||
|
@ -63,7 +63,7 @@ class Validation extends Object {
|
|||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $country = null;
|
||||
public $country = null;
|
||||
|
||||
/**
|
||||
* Some class methods use a deeper validation when set to true
|
||||
|
@ -71,7 +71,7 @@ class Validation extends Object {
|
|||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $deep = null;
|
||||
public $deep = null;
|
||||
|
||||
/**
|
||||
* Some class methods use the $type param to determine which validation to perfom in the method
|
||||
|
@ -79,7 +79,7 @@ class Validation extends Object {
|
|||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $type = null;
|
||||
public $type = null;
|
||||
|
||||
/**
|
||||
* Holds an array of errors messages set in this class.
|
||||
|
@ -88,7 +88,7 @@ class Validation extends Object {
|
|||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
var $errors = array();
|
||||
public $errors = array();
|
||||
|
||||
/**
|
||||
* Gets a reference to the Validation object instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue