remove some commented things

This commit is contained in:
spencerrlongg
2025-07-23 16:19:32 -05:00
parent 8a40d7e35c
commit d0593c6b8d
2 changed files with 0 additions and 16 deletions

View File

@@ -13,7 +13,6 @@ class NumericEncrypted implements ValidationRule
{
use ValidatesAttributes;
//$this->validateEmail($attribute, $decrypted);
/**
* Run the validation rule.
*
@@ -27,9 +26,6 @@ class NumericEncrypted implements ValidationRule
if (!$this->validateNumeric($attributeName, $decrypted) && !is_null($decrypted)) {
$fail(trans('validation.numeric', ['attribute' => $attributeName]));
}
//if (!is_numeric($decrypted) && !is_null($decrypted)) {
// $fail(trans('validation.numeric', ['attribute' => $attributeName]));
//}
} catch (\Exception $e) {
report($e->getMessage());
$fail(trans('general.something_went_wrong'));

View File

@@ -129,18 +129,6 @@ class CustomFieldFactory extends Factory
});
}
//public function testEncryptedAlpha()
//{
// return $this->state(function () {
// return [
// 'name' => 'Test Encrypted',
// 'field_encrypted' => '1',
// 'help_text' => 'This is a sample encrypted field.',
// 'format' => 'alpha'
// ];
// });
//}
public function testCheckbox()
{
return $this->state(function () {