Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
8a346de8
Commit
8a346de8
authored
4 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Fix LessSpecificImplementedReturnType (2x)
parent
924f7b97
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
lib/SimpleSAML/HTTP/RunnableResponse.php
+4
-2
4 additions, 2 deletions
lib/SimpleSAML/HTTP/RunnableResponse.php
lib/SimpleSAML/XHTML/Template.php
+4
-2
4 additions, 2 deletions
lib/SimpleSAML/XHTML/Template.php
with
8 additions
and
4 deletions
lib/SimpleSAML/HTTP/RunnableResponse.php
+
4
−
2
View file @
8a346de8
...
...
@@ -63,9 +63,11 @@ class RunnableResponse extends Response
/**
* "Send" this response by actually running the callable.
*
* @return self
* @return $this
*
* Note: No return-type possible due to upstream limitations
*/
public
function
sendContent
()
:
object
public
function
sendContent
()
{
return
call_user_func_array
(
$this
->
callable
,
$this
->
arguments
);
}
...
...
This diff is collapsed.
Click to expand it.
lib/SimpleSAML/XHTML/Template.php
+
4
−
2
View file @
8a346de8
...
...
@@ -503,10 +503,12 @@ class Template extends Response
/**
* Send this template as a response.
*
* @return
Response
This response.
* @return
$this
This response.
* @throws \Exception if the template cannot be found.
*
* Note: No return type possible due to upstream limitations
*/
public
function
send
()
:
Response
public
function
send
()
{
$this
->
content
=
$this
->
getContents
();
return
parent
::
send
();
...
...
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