Skip to content

Commit 28aef2c

Browse files
committed
Deprecate direct usage of $bindings property
Marked the `$bindings` property as deprecated with a note to use the `_initState` setter method instead for initialization. This ensures better encapsulation and guides developers toward proper usage.
1 parent ca6a725 commit 28aef2c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/InterceptTrait.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ trait InterceptTrait
1414
/**
1515
* @var MethodBindings
1616
* @readonly
17+
* @deprecated Do not use this property directly. Use the `_initState` setter method instead for initialization.
1718
*/
1819
public $bindings = [];
1920

20-
/**
21-
* @var bool
22-
*/
21+
/** @var bool */
2322
private $_isAspect = true;
2423

2524
/**

0 commit comments

Comments
 (0)