Skip to content

Commit a1467ab

Browse files
committed
Change condition to use empty()
1 parent ea2fd91 commit a1467ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phalcon/Annotations/Reader.zep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Reader implements ReaderInterface
137137
*/
138138
let methods = reflection->getMethods();
139139

140-
if count(methods) > 0 {
140+
if false === empty(methods) {
141141
let annotationsMethods = [];
142142

143143
for method in methods {

0 commit comments

Comments
 (0)