mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-19 06:47:56 -05:00
- 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
26 lines
307 B
PHP
26 lines
307 B
PHP
<?php
|
|
|
|
namespace App\Models\Tokens;
|
|
|
|
/**
|
|
* Token_barcode_price class
|
|
*/
|
|
class Token_barcode_ean extends Token
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function token_id(): string
|
|
{
|
|
return 'I';
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function get_value(): string
|
|
{
|
|
return '\w';
|
|
}
|
|
}
|