@@ -61,29 +61,29 @@ class Controller
6161 Controller::PAGE ,
6262 ];
6363
64- private $ accessTabs = ['Public ' , 'Protected ' , 'Private ' , 'Static ' ];
64+ private array $ accessTabs = ['Public ' , 'Protected ' , 'Private ' , 'Static ' ];
6565
66- private $ fileManager ;
66+ private \ PHPFUI \ InstaDoc \ FileManager $ fileManager ;
6767
68- private $ generating = '' ;
68+ private string $ generating = '' ;
6969
70- private $ gitFileOffset = '' ;
70+ private string $ gitFileOffset = '' ;
7171
72- private $ gitRoot = '' ;
72+ private string $ gitRoot = '' ;
7373
74- private $ homePageMarkdown = [];
74+ private array $ homePageMarkdown = [];
7575
76- private $ homeUrl = '# ' ;
76+ private string $ homeUrl = '# ' ;
7777
78- private $ menu = null ;
78+ private ? \ PHPFUI \ AccordionMenu $ menu = null ;
7979
80- private $ page ;
80+ private \ PHPFUI \ InstaDoc \ PageInterface $ page ;
8181
82- private $ parameters = [];
82+ private array $ parameters = [];
8383
84- private $ siteTitle = 'PHPFUI/InstaDoc ' ;
84+ private string $ siteTitle = 'PHPFUI/InstaDoc ' ;
8585
86- public function __construct (FileManager $ fileManager )
86+ public function __construct (\ PHPFUI \ InstaDoc \ FileManager $ fileManager )
8787 {
8888 $ this ->fileManager = $ fileManager ;
8989 $ this ->gitRoot = $ fileManager ->getComposerPath ();
@@ -406,7 +406,7 @@ public function getNamespaceURL(string $namespace) : string
406406 /**
407407 * Gets a blank page and sets the page title. Override to change the generated page layout.
408408 */
409- public function getPage () : PageInterface
409+ public function getPage () : \ PHPFUI \ InstaDoc \ PageInterface
410410 {
411411 $ page = new Page ($ this );
412412
0 commit comments