Skip to content

Commit

Permalink
[phalcon#13208] - Trying to fix the observed var
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Jun 21, 2019
1 parent da8cd27 commit 9bf010b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phalcon/Validation/Validator/File.zep
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class File extends ValidatorComposite
*/
public function __construct(array! options = [])
{
var included, key, message, validator, value;
var included = null, key, message = null, validator, value;

// create individual validators
for key, value in options {
Expand Down
2 changes: 1 addition & 1 deletion phalcon/Validation/Validator/StringLength.zep
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class StringLength extends ValidatorComposite
*/
public function __construct(array! options = []) -> void
{
var included, key, message, validator, value;
var included = null, key, message = null, validator, value;

// create individual validators
for key, value in options {
Expand Down

0 comments on commit 9bf010b

Please sign in to comment.