Commit 7fca80b
committed
Fix: Use
I was implementing this library in LearnDash Core and our CI checks for
PHP Compatibility going back to PHP 7.4. This was the only issue that
was flagged and it is a simple fix, so I figure it would be worthwhile
swapping this out.strpos() instead of str_contains() for PHP 7.4 Comatibility1 parent aa6249f commit 7fca80b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments