Skip to content
Snippets Groups Projects

Ptps controller 5

Merged Адлан Шамавов requested to merge PTPS_Controller_5 into main
4 unresolved threads
Files
4
+ 8
10
@@ -5,7 +5,6 @@ declare(strict_types=1);
namespace App\Action;
use DateTimeImmutable;
use Exception;
class Functions
{
@@ -68,13 +67,13 @@ class Functions
}
/**
* Выходной массив:
* Array (
* [0] => Array([0] => laravel, [1] => php)
* [1] => Array([0] => codeigniter, [1] => php)
* [3] => Array([0] => c++, [1] => java))
* )
*/
* Выходной массив:
* Array (
* [0] => Array([0] => laravel, [1] => php)
* [1] => Array([0] => codeigniter, [1] => php)
* [3] => Array([0] => c++, [1] => java))
* )
*/
/**
* Сгруппировать подразедлы в верхние разделы меню
@@ -154,5 +153,4 @@ class Functions
$dateInterval = date_diff(new DateTimeImmutable($endYear), $date);
return (int)$dateInterval->format("%a") + 1;
}
}
}
\ No newline at end of file
Loading