-
Notifications
You must be signed in to change notification settings - Fork 152
Add Assert isInitialized. #325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Assert isInitialized. #325
Conversation
| private static string $assertDocComment; | ||
| private static array $mixinMethodNames; | ||
|
|
||
| private array $methodDoesNotHaveNullOrMixin = array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be [] instead of array().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would require a change in
Line 14 in 193aad6
| 'array_syntax' => ['syntax' => 'long'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes. Let's do that as a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to short arrays in 41b8ea1.
| private static string $assertDocComment; | ||
| private static array $mixinMethodNames; | ||
|
|
||
| private array $methodDoesNotHaveNullOrMixin = array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes. Let's do that as a separate PR.
Closes #218.