mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Removed unused $matches variable
This commit is contained in:
parent
dec9ac1ac8
commit
4ae4083b7b
|
@ -92,7 +92,7 @@ class ValidationServiceProvider extends ServiceProvider
|
|||
$test_pattern = str_replace('regex:','', $value);
|
||||
|
||||
try {
|
||||
preg_match($test_pattern, $test_string, $matches);
|
||||
preg_match($test_pattern, $test_string);
|
||||
return true;
|
||||
} catch (\Exception $e) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue