mirror of
https://github.com/Karaka-Management/oms-ResearchDevelopment.git
synced 2026-02-02 15:18:40 +00:00
phpcs fixes
This commit is contained in:
parent
ae0d325264
commit
d796267caf
|
|
@ -26,7 +26,17 @@ use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
*/
|
*/
|
||||||
class Navigation
|
class Navigation
|
||||||
{
|
{
|
||||||
public static function install(string $path, DatabasePool $dbPool)
|
/**
|
||||||
|
* Install navigation providing
|
||||||
|
*
|
||||||
|
* @param string $path Path to some file
|
||||||
|
* @param DatabasePool $dbPool Database pool for database interaction
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public static function install(string $path = null, DatabasePool $dbPool = null) /* : void */
|
||||||
{
|
{
|
||||||
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
|
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user