Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan-Hendrik Willms
Stud.IP
Commits
6b96f97b
Commit
6b96f97b
authored
2 years ago
by
David Siegfried
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/controllers/my_courses.php
+3
-0
3 additions, 0 deletions
app/controllers/my_courses.php
lib/classes/Metrics.php
+1
-1
1 addition, 1 deletion
lib/classes/Metrics.php
with
4 additions
and
1 deletion
app/controllers/my_courses.php
+
3
−
0
View file @
6b96f97b
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
lib/classes/Metrics.php
+
1
−
1
View file @
6b96f97b
...
@@ -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
()
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment