File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,33 +60,33 @@ abstract class CodeStore
6060 /**
6161 * String for separating parts of the generated code. In most cases a comment with one character repeated many times.
6262 *
63- * @var string
63+ * @var string|null
6464 *
6565 * @since 1.0.0
6666 * @api
6767 */
68- protected $ separator ;
68+ protected ? string $ separator = null ;
6969
7070 /**
7171 * The number of spaces per indentation level.
7272 *
7373 * @var int
7474 */
75- private $ indentation ;
75+ private int $ indentation ;
7676
7777 /**
7878 * The source code. Each element is a line.
7979 *
8080 * @var string[]
8181 */
82- private $ lines ;
82+ private array $ lines ;
8383
8484 /**
8585 * The maximum width of the generated code (in chars).
8686 *
8787 * @var int
8888 */
89- private $ width ;
89+ private int $ width ;
9090
9191 //--------------------------------------------------------------------------------------------------------------------
9292 /**
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class ConcreteCodeStore extends CodeStore
1616 *
1717 * @var bool
1818 */
19- private $ isHeredoc = false ;
19+ private bool $ isHeredoc = false ;
2020
2121 //--------------------------------------------------------------------------------------------------------------------
2222 /**
You can’t perform that action at this time.
0 commit comments