You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call \BarcodeValidator::IsValidUPCA(), I get class \BarcodeValidator not found.
Possible solution
Upon investigation, I found that the class is written in a barcode-validator.php, while usually it should be BarcodeValidator.php for the composer's autoload to work 🤔
I copied the file to BarcodeValidator.php and it gets auto-loaded correctly.
The text was updated successfully, but these errors were encountered:
The problem
autoload.php
is included correctly.\BarcodeValidator::IsValidUPCA()
, I get class\BarcodeValidator
not found.Possible solution
barcode-validator.php
, while usually it should beBarcodeValidator.php
for the composer's autoload to work 🤔BarcodeValidator.php
and it gets auto-loaded correctly.The text was updated successfully, but these errors were encountered: