Skip to content

Commit 418f115

Browse files
authored
Apply fixes from StyleCI (#831)
[ci skip] [skip ci]
1 parent cba807d commit 418f115

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Kernel/Traits/HasAttributes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getAttribute($attribute, $default = null)
8888
*/
8989
public function isRequired($attribute)
9090
{
91-
return in_array($attribute, $this->requirements);
91+
return in_array($attribute, $this->requirements, true);
9292
}
9393

9494
/**

src/OfficialAccount/Broadcasting/MessageTransformer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @author overtrue <[email protected]>
2222
*/
23-
class Transformer
23+
class MessageTransformer
2424
{
2525
/**
2626
* transform message to XML.

0 commit comments

Comments
 (0)