Skip to content

Commit 7d54c36

Browse files
author
Дутченко Олег
committed
3.0.1
1 parent e54df46 commit 7d54c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WezomAgency/Browserizr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public function cssClasses($tests, $cssPrefix = '', $toString = true)
394394
$classes = [];
395395
foreach ($tests as $test) {
396396
$key = 'is' . $test;
397-
if (property_exists($this, $key)) {
397+
if (method_exists($this, $key)) {
398398
$prefix = $this->$key() ? 'is-' : 'is-not-';
399399
array_push($classes, $cssPrefix . $prefix . strtolower($test));
400400
}

0 commit comments

Comments
 (0)