Skip to content

Commit 46270b1

Browse files
authored
Changes the $helpers access modifier (#32)
The $helpers array should be public and not protected, as per the CakePHP's official docs: https://book.cakephp.org/3/en/views/helpers.html#including-other-helpers
1 parent 8e88c23 commit 46270b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/View/Helper/AssetMixHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AssetMixHelper extends Helper
1717
*
1818
* @var array<string>
1919
*/
20-
protected $helpers = ['Html', 'Url'];
20+
public $helpers = ['Html', 'Url'];
2121

2222
/**
2323
* Creates a link element for CSS stylesheets with versioned asset.

0 commit comments

Comments
 (0)