Commit 4d96664f authored by Wouter Wolters's avatar Wouter Wolters Committed by Markus Klein
Browse files

[TASK] Use "int" or "bool" in @var notation

Use "int" or "bool" in @var notation instead of
"interger" or "boolean".

Resolves: #62571
Releases: master
Change-Id: Icc17d2a7806a4632da2c4684c57f1f6d619878a3
Reviewed-on: http://review.typo3.org/33632


Reviewed-by: default avatarFrank Nägler <typo3@naegler.net>
Tested-by: default avatarFrank Nägler <typo3@naegler.net>
Reviewed-by: default avatarMarkus Klein <klein.t3@reelworx.at>
Tested-by: default avatarMarkus Klein <klein.t3@reelworx.at>
parent b66ff8c0
......@@ -46,7 +46,7 @@ class ElementInformationController {
protected $permsClause;
/**
* @var boolean
* @var bool
*/
public $access = FALSE;
......
......@@ -83,7 +83,7 @@ class SuggestDefaultReceiver {
/**
* The maximum number of items to select.
*
* @var integer
* @var int
*/
protected $maxItems = 10;
......
......@@ -37,7 +37,7 @@ class FormDataTraverser {
* If this is TRUE the alternative field value will be used even if
* the detected field value is not empty.
*
* @var boolean
* @var bool
*/
protected $forceAlternativeFieldValueUse = FALSE;
......@@ -66,7 +66,7 @@ class FormDataTraverser {
* If the first record in the chain is translatable the language
* UID of this record is stored in this variable.
*
* @var integer
* @var int
*/
protected $originalLanguageUid = NULL;
......
......@@ -250,7 +250,7 @@ class FormEngine {
/**
* Value that gets added for style="width: ...px" for textareas compared to input fields.
*
* @var integer
* @var int
*/
protected $form_additionalTextareaStyleWidth = 23;
......@@ -640,7 +640,7 @@ class FormEngine {
public $templateFile = '';
/**
* @var integer
* @var int
* @var internal
*/
public $multiSelectFilterCount = 0;
......
......@@ -50,14 +50,14 @@ class FrontendBackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\B
/**
* Decides if the writelog() function is called at login and logout.
*
* @var boolean
* @var bool
*/
public $writeStdLog = FALSE;
/**
* If the writelog() functions is called if a login-attempt has be tried without success.
*
* @var boolean
* @var bool
*/
public $writeAttemptLog = FALSE;
......@@ -71,7 +71,7 @@ class FrontendBackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\B
/**
* General flag which is set if the adminpanel should be displayed at all.
*
* @var boolean
* @var bool
*/
public $extAdmEnabled = FALSE;
......
......@@ -32,15 +32,15 @@ class LiveSearch {
*/
const PAGE_JUMP_TABLE = 'pages';
/**
* @var integer
* @var int
*/
const RECURSIVE_PAGE_LEVEL = 99;
/**
* @var integer
* @var int
*/
const GROUP_TITLE_MAX_LENGTH = 15;
/**
* @var integer
* @var int
*/
const RECORD_TITLE_MAX_LENGTH = 28;
/**
......@@ -49,12 +49,12 @@ class LiveSearch {
private $queryString = '';
/**
* @var integer
* @var int
*/
private $startCount = 0;
/**
* @var integer
* @var int
*/
private $limitCount = 5;
......
......@@ -60,35 +60,35 @@ class SpriteGenerator {
';
/**
* @var boolean
* @var bool
*/
protected $enableHighDensitySprite = TRUE;
/**
* Most common icon-width in the sprite
*
* @var integer
* @var int
*/
protected $defaultWidth = 0;
/**
* Most common icon-height in the sprite
*
* @var integer
* @var int
*/
protected $defaultHeight = 0;
/**
* Calculated width of the sprite
*
* @var integer
* @var int
*/
protected $spriteWidth = 0;
/**
* Calculated height of the sprite
*
* @var integer
* @var int
*/
protected $spriteHeight = 0;
......@@ -116,7 +116,7 @@ class SpriteGenerator {
/**
* The spriteName will not be included in icon names
*
* @var boolean
* @var bool
*/
protected $omitSpriteNameInIconName = FALSE;
......@@ -131,7 +131,7 @@ class SpriteGenerator {
* Setting this to TRUE, the timestamp of the creation will be included to the background import
* helps to easily rebuild sprites without cache problems
*
* @var boolean
* @var bool
*/
protected $includeTimestampInCSS = TRUE;
......@@ -167,7 +167,7 @@ class SpriteGenerator {
/**
* space in px between to icons in the sprite (gap)
*
* @var integer
* @var int
*/
protected $space = 2;
......
......@@ -213,7 +213,7 @@ function jumpToUrl(URL) {
/**
* Whether to use the X-UA-Compatible meta tag
*
* @var boolean
* @var bool
*/
protected $useCompatibilityTag = TRUE;
......@@ -330,7 +330,7 @@ function jumpToUrl(URL) {
/**
* Whether flashmessages should be rendered or not
*
* @var boolean $showFlashMessages
* @var bool $showFlashMessages
*/
public $showFlashMessages = TRUE;
......
......@@ -37,28 +37,28 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Indicator if the node is expanded
*
* @var boolean
* @var bool
*/
protected $expanded = FALSE;
/**
* Indicator if the node can be expanded
*
* @var boolean
* @var bool
*/
protected $expandable = FALSE;
/**
* Indicator if the node is draggable
*
* @var boolean
* @var bool
*/
protected $draggable = TRUE;
/**
* Indicator if the node is allowed as a drop target
*
* @var boolean
* @var bool
*/
protected $isDropTarget = TRUE;
......@@ -121,14 +121,14 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Indicator if the copy mode is activated
*
* @var boolean
* @var bool
*/
protected $t3InCopyMode = FALSE;
/**
* Indicator if the cut mode is activated
*
* @var boolean
* @var bool
*/
protected $t3InCutMode = FALSE;
......@@ -149,14 +149,14 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode {
/**
* Indicator if the label is editable
*
* @var boolean
* @var bool
*/
protected $labelIsEditable = TRUE;
/**
* Indicator if the node can have children's
*
* @var boolean
* @var bool
*/
protected $allowChildren = TRUE;
......
......@@ -28,17 +28,17 @@ use TYPO3\CMS\Core\Versioning\VersionState;
class Commands {
/**
* @var boolean|null
* @var bool|null
*/
static protected $useNavTitle = NULL;
/**
* @var boolean|null
* @var bool|null
*/
static protected $addIdAsPrefix = NULL;
/**
* @var boolean|null
* @var bool|null
*/
static protected $addDomainName = NULL;
......@@ -48,7 +48,7 @@ class Commands {
static protected $backgroundColors = NULL;
/**
* @var integer|null
* @var int|null
*/
static protected $titleLength = NULL;
......
......@@ -27,14 +27,14 @@ class DataProvider extends \TYPO3\CMS\Backend\Tree\AbstractTreeDataProvider {
/**
* Node limit that should be loaded for this request per mount
*
* @var integer
* @var int
*/
protected $nodeLimit = 0;
/**
* Current amount of nodes
*
* @var integer
* @var int
*/
protected $nodeCounter = 0;
......
......@@ -33,14 +33,14 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode {
/**
* Workspace Overlay Id
*
* @var integer
* @var int
*/
protected $workspaceId = 0;
/**
* Mount Point Id
*
* @var integer
* @var int
*/
protected $mountPoint = 0;
......@@ -54,7 +54,7 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode {
/**
* Indicator if the node is a mount point
*
* @var boolean
* @var bool
*/
protected $isMountPoint = FALSE;
......
......@@ -24,7 +24,7 @@ class ExtJsJsonTreeRenderer extends \TYPO3\CMS\Backend\Tree\Renderer\AbstractTre
/**
* recursion level
*
* @var integer
* @var int
*/
protected $recursionLevel = 0;
......
......@@ -23,7 +23,7 @@ class UnorderedListTreeRenderer extends \TYPO3\CMS\Backend\Tree\Renderer\Abstrac
/**
* recursion level
*
* @var integer
* @var int
*/
protected $recursionLevel = 0;
......
......@@ -43,7 +43,7 @@ class FolderTreeView extends \TYPO3\CMS\Backend\Tree\View\AbstractTreeView {
* Indicates, whether the AJAX call was successful,
* i.e. the requested page has been found
*
* @var boolean
* @var bool
*/
protected $ajaxStatus = FALSE;
......
......@@ -22,7 +22,7 @@ namespace TYPO3\CMS\Backend\View\BackendLayout;
class DataProviderContext implements \TYPO3\CMS\Core\SingletonInterface {
/**
* @var integer
* @var int
*/
protected $pageId;
......
......@@ -174,7 +174,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
/**
* User permissions
*
* @var integer
* @var int
*/
public $ext_CALC_PERMS;
......
......@@ -22,51 +22,51 @@ namespace TYPO3\CMS\Belog\Controller;
abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController {
/**
* @var integer
* @var int
*/
const TIMEFRAME_THISWEEK = 0;
/**
* @var integer
* @var int
*/
const TIMEFRAME_LASTWEEK = 1;
/**
* @var integer
* @var int
*/
const TIMEFRAME_LASTSEVENDAYS = 2;
/**
* @var integer
* @var int
*/
const TIMEFRAME_THISMONTH = 10;
/**
* @var integer
* @var int
*/
const TIMEFRAME_LASTMONTH = 11;
/**
* @var integer
* @var int
*/
const TIMEFRAME_LAST31DAYS = 12;
/**
* @var integer
* @var int
*/
const TIMEFRAME_CUSTOM = 30;
/**
* Whether plugin is running in page context (sub module of Web > Info)
*
* @var boolean
* @var bool
*/
protected $isInPageContext = FALSE;
/**
* Page ID in page context
*
* @var integer
* @var int
*/
protected $pageId = 0;
......
......@@ -31,35 +31,35 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
/**
* Number of log rows to show
*
* @var integer
* @var int
*/
protected $number = 20;
/**
* UID of selected workspace
*
* @var integer
* @var int
*/
protected $workspaceUid = \TYPO3\CMS\Belog\Domain\Model\Workspace::UID_ANY_WORKSPACE;
/**
* Selected time frame
*
* @var integer
* @var int
*/
protected $timeFrame = 0;
/**
* Selected action
*
* @var integer
* @var int
*/
protected $action = 0;
/**
* Whether rows should be grouped by page
*
* @var boolean
* @var bool
*/
protected $groupByPage = FALSE;
......@@ -80,35 +80,35 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
/**
* Calculated start timestamp
*
* @var integer
* @var int
*/
protected $startTimestamp = 0;
/**
* Calculated end timestamp
*
* @var integer
* @var int
*/
protected $endTimestamp = 0;
/**
* Whether the plugin is called in page context (submodule of Web > Info)
*
* @var boolean
* @var bool
*/
protected $isInPageContext = FALSE;
/**
* Selected page ID in page context
*
* @var integer
* @var int
*/
protected $pageId = 0;
/**
* Page level depth
*
* @var integer
* @var int
*/
protected $depth = 0;
......
......@@ -26,7 +26,7 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
/**
* Storage page ID of the log entry
*
* @var integer
* @var int
*/
protected $pid = 0;
......@@ -37,21 +37,21 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
* have found now is to resolve the username (if it exists) in a
* view helper and just use the uid of the be user here.
*
* @var integer
* @var int
*/
protected $backendUserUid = 0;
/**
* Action ID of the action that happened, for example 3 was a file action
*
* @var integer
* @var int
*/
protected $action = 0;
/**
* UID of the record the event happened to
*
* @var integer
* @var int
*/
protected $recordUid = 0;
......@@ -65,14 +65,14 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
/**
* PID of the record the event happened to
*
* @var integer
* @var int
*/
protected $recordPid = 0;
/**
* Error code
*
* @var integer
* @var int
*/
protected $error = 0;
......@@ -86,21 +86,21 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
/**
* Timestamp when the log entry was written
*
* @var integer
* @var int
*/
protected $tstamp = 0;
/**
* Type code
*
* @var integer
* @var int
*/
protected $type = 0;
/**
* Details number
*
* @var integer
* @var int
*/
protected $detailsNumber = 0;
......@@ -121,14 +121,14 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
/**
* Event PID
*
* @var integer
* @var int
*/