File tree Expand file tree Collapse file tree
config/attributes/syringe
database/attributes/syringe Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ### 11.4.4, <small >(2025-09-19)</small >
2+
3+ #### Changes
4+
5+ * Prevent unnecessary warnings from PHPStan.
6+
7+ --------------------------------------------------------
8+
19### 11.4.3, <small >(2025-09-16)</small >
210
311#### Changes
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ final class Mako
1515 /**
1616 * Mako version.
1717 */
18- public const string VERSION = '11.4.3 ' ;
18+ public const string VERSION = '11.4.4 ' ;
1919
2020 /**
2121 * Mako major version.
@@ -30,5 +30,5 @@ final class Mako
3030 /**
3131 * Mako patch version.
3232 */
33- public const int VERSION_PATCH = 3 ;
33+ public const int VERSION_PATCH = 4 ;
3434}
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ class InjectConfig implements InjectorInterface
2424 */
2525 public function __construct (
2626 protected string $ key ,
27- protected mixed $ default ,
28- protected Config $ config
27+ protected mixed $ default = null ,
28+ protected ? Config $ config = null
2929 ) {
3030 }
3131
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ class InjectConnection implements InjectorInterface
2424 * Constructor.
2525 */
2626 public function __construct (
27- protected ?string $ connection ,
28- protected ConnectionManager $ connectionManager
27+ protected ?string $ connection = null ,
28+ protected ? ConnectionManager $ connectionManager = null
2929 ) {
3030 }
3131
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ class InjectConnection implements InjectorInterface
2424 * Constructor.
2525 */
2626 public function __construct (
27- protected ?string $ connection ,
28- protected ConnectionManager $ connectionManager
27+ protected ?string $ connection = null ,
28+ protected ? ConnectionManager $ connectionManager = null
2929 ) {
3030 }
3131
You can’t perform that action at this time.
0 commit comments