Skip to content

Commit d6cee82

Browse files
fix: PHP 8.2 warnings (#9)
* Fix PHP Warning Deprecated * fix: linting --------- Co-authored-by: Harun Bašić <harun@bleech.de>
1 parent af65407 commit d6cee82

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

acf-hide-layout.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@ class ACF_Hide_Layout {
4040
*/
4141
protected $hidden_layouts = [];
4242

43+
/**
44+
* File.
45+
*
46+
* @access protected
47+
*/
48+
protected $file = '';
49+
50+
/**
51+
* Basename.
52+
*
53+
* @access protected
54+
*/
55+
protected $basename = '';
56+
4357
/**
4458
* A dummy magic method to prevent class from being cloned.
4559
*

0 commit comments

Comments
 (0)