Test Failed
Branch master (e0e8ab)
by Tymoteusz
23:10
created
typo3/sysext/backend/Classes/Clipboard/Clipboard.php 2 patches
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      *
222 222
      * @param array $CBarr Element array from outside ("key" => "selected/deselected")
223 223
      * @param string $table The 'table which is allowed'. Must be set.
224
-     * @param bool|int $removeDeselected Can be set in order to remove entries which are marked for deselection.
224
+     * @param integer $removeDeselected Can be set in order to remove entries which are marked for deselection.
225 225
      * @return array Processed input $CBarr
226 226
      */
227 227
     public function cleanUpCBC($CBarr, $table, $removeDeselected = 0)
@@ -565,8 +565,8 @@  discard block
 block discarded – undo
565 565
      *
566 566
      * @param string $table Table name
567 567
      * @param int $uid Uid of record
568
-     * @param bool|int $copy If set, copymode will be enabled
569
-     * @param bool|int $deselect If set, the link will deselect, otherwise select.
568
+     * @param integer $copy If set, copymode will be enabled
569
+     * @param integer $deselect If set, the link will deselect, otherwise select.
570 570
      * @param array $baseArray The base array of GET vars to be sent in addition. Notice that current GET vars WILL automatically be included.
571 571
      * @return string URL linking to the current script but with the CB array set to select the element with table/uid
572 572
      */
@@ -584,8 +584,8 @@  discard block
 block discarded – undo
584 584
      * Returns the select-url for files
585 585
      *
586 586
      * @param string $path Filepath
587
-     * @param bool|int $copy If set, copymode will be enabled
588
-     * @param bool|int $deselect If set, the link will deselect, otherwise select.
587
+     * @param integer $copy If set, copymode will be enabled
588
+     * @param integer $deselect If set, the link will deselect, otherwise select.
589 589
      * @param array $baseArray The base array of GET vars to be sent in addition. Notice that current GET vars WILL automatically be included.
590 590
      * @return string URL linking to the current script but with the CB array set to select the path
591 591
      */
@@ -631,8 +631,8 @@  discard block
 block discarded – undo
631 631
     /**
632 632
      * deleteUrl for current pad
633 633
      *
634
-     * @param bool|int $setRedirect If set, then the redirect URL will point back to the current script, but with CB reset.
635
-     * @param bool|int $file If set, then the URL will link to the tce_file.php script in the typo3/ dir.
634
+     * @param integer $setRedirect If set, then the redirect URL will point back to the current script, but with CB reset.
635
+     * @param integer $file If set, then the URL will link to the tce_file.php script in the typo3/ dir.
636 636
      * @return string
637 637
      */
638 638
     public function deleteUrl($setRedirect = 1, $file = 0)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -711,7 +711,7 @@
 block discarded – undo
711 711
     {
712 712
         if ($this->getBackendUser()->jsConfirmation(JsConfirmation::COPY_MOVE_PASTE)) {
713 713
             $labelKey = 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:mess.' . ($this->currentMode() === 'copy' ? 'copy' : 'move') . ($this->current === 'normal' ? '' : 'cb') . '_' . $type;
714
-            $msg = $this->getLanguageService()->sL($labelKey . ($columnLabel ? '_colPos': ''));
714
+            $msg = $this->getLanguageService()->sL($labelKey . ($columnLabel ? '_colPos' : ''));
715 715
             if ($table === '_FILE') {
716 716
                 $thisRecTitle = basename($rec);
717 717
                 if ($this->current === 'normal') {
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -721,7 +721,7 @@
 block discarded – undo
721 721
      * Get inlineFirstPid from a given objectId string
722 722
      *
723 723
      * @param string $domObjectId The id attribute of an element
724
-     * @return int|NULL Pid or null
724
+     * @return string|null Pid or null
725 725
      */
726 726
     protected function getInlineFirstPidFromDomObjectId($domObjectId)
727 727
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\Controller;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -513,7 +513,7 @@
 block discarded – undo
513 513
             'inlineParentTableName' => $parentData['tableName'],
514 514
             'inlineParentFieldName' => $parentFieldName,
515 515
 
516
-             // values of the top most parent element set on first level and not overridden on following levels
516
+                // values of the top most parent element set on first level and not overridden on following levels
517 517
             'inlineTopMostParentUid' => $inlineTopMostParent['uid'],
518 518
             'inlineTopMostParentTableName' => $inlineTopMostParent['table'],
519 519
             'inlineTopMostParentFieldName' => $inlineTopMostParent['field'],
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInputPlaceholders.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      *
165 165
      * @param array $fieldConfig TCA "config" section for the group type field.
166 166
      * @param string $value A comma separated list of records
167
-     * @return array
167
+     * @return string
168 168
      */
169 169
     protected function getRelatedGroupFieldUids(array $fieldConfig, $value)
170 170
     {
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/NodeInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @param NodeFactory $nodeFactory
26 26
      * @param array $data
27
+     * @return void
27 28
      */
28 29
     public function __construct(NodeFactory $nodeFactory, array $data);
29 30
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,6 @@
 block discarded – undo
358 358
      * The path is returned uncut, cutting has to be done by calling function.
359 359
      *
360 360
      * @param array $row The row
361
-     * @param array $record The record
362 361
      * @return string The record-path
363 362
      */
364 363
     protected function getRecordPath(&$row, $uid)
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Search/LiveSearch/QueryParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * Verify if an given query contains a page jump command.
84 84
      *
85 85
      * @param string $query A valid value looks like '#14'
86
-     * @return int
86
+     * @return string
87 87
      */
88 88
     public function getId($query)
89 89
     {
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/ModuleTemplate.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
     /**
416 416
      * Generates the Menu for things like Web->Info
417 417
      *
418
-     * @param $moduleMenuIdentifier
418
+     * @param string $moduleMenuIdentifier
419 419
      */
420 420
     public function registerModuleMenu($moduleMenuIdentifier)
421 421
     {
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
      * (if any) - SET[] variables a stored in $GLOBALS["SOBE"]->MOD_SETTINGS
504 504
      * for backend modules
505 505
      * @param string $modName Module name string
506
-     * @param string|int $motherModName Is used to enter the "parent module
506
+     * @param string $motherModName Is used to enter the "parent module
507 507
      * name" if the module is a submodule under eg. Web>* or File>*. You
508 508
      * can also set this value to 1 in which case the currentLoadedModule
509 509
      * is sent to the shortcut script (so - not a fixed value!) - that is used
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Tree/Pagetree/PagetreeNode.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     /**
126 126
      * Returns if the pagetree should stop here
127 127
      *
128
-     * @return int
128
+     * @return boolean
129 129
      */
130 130
     public function getStopPageTree()
131 131
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16 16
 
17
- use TYPO3\CMS\Core\Versioning\VersionState;
17
+    use TYPO3\CMS\Core\Versioning\VersionState;
18 18
 
19
- /**
20
- * Node designated for the page tree
21
- */
19
+    /**
20
+     * Node designated for the page tree
21
+     */
22 22
 class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode
23 23
 {
24 24
     /**
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Tree/Renderer/UnorderedListTreeRenderer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@
 block discarded – undo
48 48
     /**
49 49
      * Renders a node collection recursive or just a single instance
50 50
      *
51
-     * @param \TYPO3\CMS\Backend\Tree\TreeNodeCollection $node
52 51
      * @param bool $recursive
53 52
      * @return string
54 53
      */
Please login to merge, or discard this patch.