chore: Аннотации к типам

This commit is contained in:
origami11@yandex.ru 2025-10-30 12:59:36 +03:00
parent 5e8958969f
commit f964472e62
28 changed files with 140 additions and 36 deletions

View file

@ -34,6 +34,7 @@ use Exception;
class SQLStatementExtractor
{
/** @var string */
protected static $delimiter = ';';
/**
@ -144,6 +145,10 @@ class SQLStatementExtractor
/**
* a natural way of getting a subtring, php's circular string buffer and strange
* return values suck if you want to program strict as of C or friends
* @param string $string The string to get the substring from.
* @param int $startpos The start position of the substring.
* @param int $endpos The end position of the substring.
* @return string The substring.
*/
protected static function substring(string $string, int $startpos, int $endpos = -1)
{