chore: Аннотации к типам
This commit is contained in:
parent
5e8958969f
commit
f964472e62
28 changed files with 140 additions and 36 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue