OpenBSD whereis doesn't support -b

Index: app/ConfigRepository.php
--- app/ConfigRepository.php.orig
+++ app/ConfigRepository.php
@@ -532,7 +532,7 @@ class ConfigRepository
     public function locateBinary($binary): mixed
     {
         if (! Str::contains($binary, '/')) {
-            $output = shell_exec("whereis -b $binary");
+            $output = shell_exec("whereis $binary");
             $list = trim(substr((string) $output, strpos((string) $output, ':') + 1));
             $targets = explode(' ', $list);
             foreach ($targets as $target) {
