Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-orchestrator
Commits
1344abd0
Commit
1344abd0
authored
1 month ago
by
Oana-Eliza Alexa
Browse files
Options
Download
Patches
Plain Diff
fix phpstan
parent
62d0b86a
78-redesign-audit-class
1 merge request
!74
Draft: Resolve "Redesign audit class"
Pipeline
#32335
passed with stages
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/Audit.php
+2
-3
plugins/tasks/Audit.php
with
2 additions
and
3 deletions
+2
-3
plugins/tasks/Audit.php
+
2
−
3
View file @
1344abd0
...
@@ -4,12 +4,11 @@ class Audit implements EndpointInterface
...
@@ -4,12 +4,11 @@ class Audit implements EndpointInterface
{
{
private
TaskGateway
$gateway
;
private
TaskGateway
$gateway
;
private
string
$errorMessage
;
private
string
$errorMessage
=
'No audit requiring removal'
;
public
function
__construct
(
TaskGateway
$gateway
)
public
function
__construct
(
TaskGateway
$gateway
)
{
{
$this
->
gateway
=
$gateway
;
$this
->
gateway
=
$gateway
;
$this
->
errorMessage
=
'No audit requiring removal'
;
}
}
/**
/**
...
@@ -81,7 +80,7 @@ class Audit implements EndpointInterface
...
@@ -81,7 +80,7 @@ class Audit implements EndpointInterface
* @return array
* @return array
* @throws Exception
* @throws Exception
*/
*/
private
function
processScheduledTask
(
array
$task
):
array
private
function
processScheduledTask
(
array
$task
):
array
{
{
// Retrieve data from the main task.
// Retrieve data from the main task.
$auditMainTask
=
$this
->
getAuditMainTask
(
$task
[
'fdtasksgranularmaster'
][
0
]);
$auditMainTask
=
$this
->
getAuditMainTask
(
$task
[
'fdtasksgranularmaster'
][
0
]);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets