@@ -8,8 +8,8 @@ public function generate(\PHPFUI\InstaDoc\PageInterface $page, string $fullClass
88 {
99 $ container = new \PHPFUI \Container ();
1010
11- $ gitPage = (int )$ this ->controller ->getParameter (\PHPFUI \InstaDoc \Controller::GIT_ONPAGE , 0 );
12- $ limit = $ this ->controller ->getParameter (\PHPFUI \InstaDoc \Controller::GIT_LIMIT , 20 );
11+ $ gitPage = (int )$ this ->controller ->getParameter (\PHPFUI \InstaDoc \Controller::GIT_ONPAGE , ' 0 ' );
12+ $ limit = $ this ->controller ->getParameter (\PHPFUI \InstaDoc \Controller::GIT_LIMIT , ' 20 ' );
1313
1414 $ offset = $ this ->controller ->getGitFileOffset ();
1515
@@ -40,7 +40,7 @@ public function generate(\PHPFUI\InstaDoc\PageInterface $page, string $fullClass
4040
4141 try
4242 {
43- $ log = $ repo ->getLog ($ branch, $ fullClassPath , 0 , 10 );
43+ $ log = $ repo ->getLog ([ $ branch], [ $ fullClassPath] , 0 , 10 );
4444 $ count = $ log ->count ();
4545 }
4646 catch (\Exception $ e )
@@ -85,7 +85,7 @@ public function generate(\PHPFUI\InstaDoc\PageInterface $page, string $fullClass
8585
8686 $ container ->add ($ table );
8787
88- $ this ->controller ->setParameter (\PHPFUI \InstaDoc \Controller::GIT_LIMIT , $ limit );
88+ $ this ->controller ->setParameter (\PHPFUI \InstaDoc \Controller::GIT_LIMIT , ( string ) $ limit );
8989 $ this ->controller ->setParameter (\PHPFUI \InstaDoc \Controller::GIT_ONPAGE , 'PAGE ' );
9090
9191 $ paginator = new \PHPFUI \Pagination ($ gitPage , $ lastPage , $ this ->controller ->getUrl ($ this ->controller ->getParameters ()));
@@ -98,6 +98,7 @@ public function generate(\PHPFUI\InstaDoc\PageInterface $page, string $fullClass
9898
9999 private function getReveal (\PHPFUI \InstaDoc \PageInterface $ page , \PHPFUI \HTML5Element $ opener , string $ url ) : \PHPFUI \Reveal
100100 {
101+ /** @phpstan-ignore-next-line */
101102 $ reveal = new \PHPFUI \Reveal ($ page , $ opener );
102103 $ reveal ->addClass ('large ' );
103104 $ div = new \PHPFUI \HTML5Element ('div ' );
0 commit comments