Files
opensourcepos/app/Models/Tokens/Token_barcode_price.php
objecttothis ba9bcd7786 PHPdocs
- Added missing PHPdocs
- Corrected Syntax
- Added noinspection parameters to PHPdoc for AJAX called functions
- Added missing function return types
- Added missing parameter types
- Added public keyword to functions without visibility modifier
- Corrected incorrectly formatted PHPdocs
- Added public to constants and functions missing a visibility keyword
2024-06-15 17:19:15 +02:00

26 lines
309 B
PHP

<?php
namespace App\Models\Tokens;
/**
* Token_barcode_price class
*/
class Token_barcode_price extends Token
{
/**
* @return string
*/
public function token_id(): string
{
return 'P';
}
/**
* @return string
*/
public function get_value(): string
{
return '\d';
}
}