-
Notifications
You must be signed in to change notification settings - Fork 2
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
bumping travis php versions, composer deps, fixing phpstan errors #2
Conversation
@@ -160,8 +160,6 @@ public function setConfig(Zend_Config $config) | |||
* Get optional decorator | |||
* | |||
* By default, return null, indicating no extra decorator needed. | |||
* | |||
* @return null |
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.
This is so it inherits the interface's docblock for the @return
(above).
@@ -357,7 +356,7 @@ public function generate() | |||
|
|||
protected function _generateRandomId() | |||
{ | |||
return md5(Zend_Crypt_Math::randBytes(32)); | |||
return md5((string) Zend_Crypt_Math::randBytes(32)); |
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.
apparently the randBytes
method can return false
, this shouldn't change behavior though.
Codecov Report
@@ Coverage Diff @@
## master #2 +/- ##
============================================
- Coverage 84.84% 84.68% -0.17%
- Complexity 204 206 +2
============================================
Files 10 10
Lines 561 568 +7
============================================
+ Hits 476 481 +5
- Misses 85 87 +2
Continue to review full report at Codecov.
|
No description provided.