Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
randombanners
Commits
0e42870c
Commit
0e42870c
authored
Jun 01, 2021
by
Thomas Löffler
Browse files
[TASK] Fix CGL
parent
298ec459
Pipeline
#12063
passed with stages
in 22 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Classes/Command/MonthlyCommand.php
View file @
0e42870c
...
...
@@ -73,7 +73,7 @@ class MonthlyCommand extends Command
* Send monthly report to sponsor
*
* @param array $banner
* @return bool
ean
* @return bool
*/
protected
function
sendReport
(
$banner
)
{
...
...
@@ -128,5 +128,4 @@ class MonthlyCommand extends Command
]
);
}
}
Classes/Domain/Model/Banner.php
View file @
0e42870c
...
...
@@ -72,7 +72,6 @@ class Banner extends AbstractEntity
/**
* @param string $name
* @return void
*/
public
function
setName
(
$name
)
{
...
...
@@ -89,7 +88,6 @@ class Banner extends AbstractEntity
/**
* @param string $link
* @return void
*/
public
function
setLink
(
$link
)
{
...
...
@@ -106,7 +104,6 @@ class Banner extends AbstractEntity
/**
* @param ObjectStorage $logo
* @return void
*/
public
function
setLogo
(
ObjectStorage
$logo
)
{
...
...
@@ -125,7 +122,6 @@ class Banner extends AbstractEntity
/**
* @param string $email
* @return void
*/
public
function
setEmail
(
$email
)
{
...
...
@@ -142,7 +138,6 @@ class Banner extends AbstractEntity
/**
* @param int $clickedThisMonth
* @return void
*/
public
function
setClickedThisMonth
(
$clickedThisMonth
)
{
...
...
@@ -159,7 +154,6 @@ class Banner extends AbstractEntity
/**
* @param int $clickedLastMonth
* @return void
*/
public
function
setClickedLastMonth
(
$clickedLastMonth
)
{
...
...
@@ -178,7 +172,6 @@ class Banner extends AbstractEntity
* Adds a Member
*
* @param Member $member
* @return void
*/
public
function
addMember
(
Member
$member
)
{
...
...
@@ -189,7 +182,6 @@ class Banner extends AbstractEntity
* Removes a Member
*
* @param Member $memberToRemove The Member to be removed
* @return void
*/
public
function
removeMember
(
Member
$memberToRemove
)
{
...
...
@@ -210,7 +202,6 @@ class Banner extends AbstractEntity
* Sets the members
*
* @param ObjectStorage<\T3o\T3oMembership\Domain\Model\Member> $member
* @return void
*/
public
function
setMember
(
ObjectStorage
$member
)
{
...
...
Classes/Eid/RandombannersEidController.php
View file @
0e42870c
...
...
@@ -14,7 +14,6 @@ namespace T3o\Randombanners\Eid;
* The TYPO3 project - inspiring people to share!
*/
use
Psr\Http\Message\ResponseInterface
;
use
Psr\Http\Message\ServerRequestInterface
;
use
TYPO3\CMS\Core\Http\Response
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
...
...
@@ -38,4 +37,4 @@ class RandombannersEidController
return
new
Response
();
}
}
\ No newline at end of file
}
Configuration/Commands.php
View file @
0e42870c
...
...
@@ -5,4 +5,4 @@ return [
'class'
=>
\
T3o\Randombanners\Command\MonthlyCommand
::
class
,
'schedulable'
=>
true
,
],
];
\ No newline at end of file
];
Configuration/TCA/Overrides/sys_template.php
View file @
0e42870c
...
...
@@ -5,4 +5,4 @@ defined('TYPO3_MODE') or die();
'randombanners'
,
'Configuration/TypoScript'
,
'Random banners'
);
\ No newline at end of file
);
ext_localconf.php
View file @
0e42870c
...
...
@@ -13,4 +13,4 @@ defined('TYPO3_MODE') or die();
);
// AJAX
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'FE'
][
'eID_include'
][
'randombanners'
]
=
\
T3o\Randombanners\Eid\RandombannersEidController
::
class
.
'::countClick'
;
\ No newline at end of file
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'FE'
][
'eID_include'
][
'randombanners'
]
=
\
T3o\Randombanners\Eid\RandombannersEidController
::
class
.
'::countClick'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment