Skip to content
Snippets Groups Projects
Commit 6b96f97b authored by David Siegfried's avatar David Siegfried
Browse files

add type to prevent ide-warnings, closes #1469

Closes #1469

Merge request studip/studip!917
parent 9f9d738f
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,9 @@ require_once 'lib/object.inc.php'; ...@@ -28,6 +28,9 @@ require_once 'lib/object.inc.php';
class MyCoursesController extends AuthenticatedController class MyCoursesController extends AuthenticatedController
{ {
/**
* @var Callable
*/
private $performance_timer = null; private $performance_timer = null;
public function before_filter(&$action, &$args) public function before_filter(&$action, &$args)
......
...@@ -159,7 +159,7 @@ class Metrics { ...@@ -159,7 +159,7 @@ class Metrics {
* *
* @endcode * @endcode
* *
* @return function the timing function * @return Callable the timing function
*/ */
public static function startTimer() public static function startTimer()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment