[phpMyAdmin Git] [phpmyadmin/phpmyadmin] f1a0f9: Minor refactoring of NavigationTree (#17970)
Kamil Tekiela
tekiela246 at gmail.com
Sat Dec 24 17:25:05 CET 2022
Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: f1a0f9d196868b8e644ab2eb54d018939dd4df18
https://github.com/phpmyadmin/phpmyadmin/commit/f1a0f9d196868b8e644ab2eb54d018939dd4df18
Author: Kamil Tekiela <tekiela246 at gmail.com>
Date: 2022-12-24 (Sat, 12 December 2022) -03:00
Changed paths:
M libraries/classes/Navigation/NavigationTree.php
M libraries/classes/Navigation/Nodes/Node.php
M phpstan-baseline.neon
M psalm-baseline.xml
Log Message:
-----------
Minor refactoring of NavigationTree (#17970)
* Fix boolean expression
* Fix docbloc type
* Remove redundant arguments
* Refactor Node::hasChildren()
* Remove redundant count()
* Make $pos property not null
* Improve condition
* Replace escapeString with quoteString
* Update phpstan-baseline.neon
* Update psalm-baseline.xml
Signed-off-by: Kamil Tekiela <tekiela246 at gmail.com>
More information about the Git
mailing list