Skip to content

Commit 1ab6afa

Browse files
Merge branch '2.7' into 2.8
* 2.7: [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction
2 parents 50cf5bf + 270abff commit 1ab6afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

History.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function add(Request $request)
4949
*/
5050
public function isEmpty()
5151
{
52-
return count($this->stack) == 0;
52+
return 0 == count($this->stack);
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)