Remove "null" assignments

This commit is contained in:
Nathan van der Werf 2018-08-15 18:33:24 +02:00
parent 11e8a3a92c
commit 3a918ad200
23 changed files with 34 additions and 34 deletions

View File

@ -55,7 +55,7 @@ class ReorderController extends ControllerBehavior
* - simple: October\Rain\Database\Traits\Sortable
* - nested: October\Rain\Database\Traits\NestedTree
*/
protected $sortMode = null;
protected $sortMode;
/**
* @var Backend\Classes\WidgetBase Reference to the widget used for the toolbar.

View File

@ -54,7 +54,7 @@ class FilterScope
/**
* @var string Specifies contextual visibility of this form scope.
*/
public $context = null;
public $context;
/**
* @var bool Specify if the scope is disabled or not.

View File

@ -94,12 +94,12 @@ class FormField
/**
* @var string Specifies contextual visibility of this form field.
*/
public $context = null;
public $context;
/**
* @var bool Specifies if this field is mandatory.
*/
public $required = null;
public $required;
/**
* @var bool Specify if the field is read-only or not.

View File

@ -35,7 +35,7 @@ class FormTabs implements IteratorAggregate, ArrayAccess
/**
* @var bool Should these tabs stretch to the bottom of the page layout.
*/
public $stretch = null;
public $stretch;
/**
* @var boolean If set to TRUE, fields will not be displayed in tabs.

View File

@ -26,25 +26,25 @@ class DatePicker extends FormWidgetBase
/**
* @var string Provide an explicit date display format.
*/
public $format = null;
public $format;
/**
* @var string the minimum/earliest date that can be selected.
* eg: 2000-01-01
*/
public $minDate = null;
public $minDate;
/**
* @var string the maximum/latest date that can be selected.
* eg: 2020-12-31
*/
public $maxDate = null;
public $maxDate;
/**
* @var string number of years either side or array of upper/lower range
* eg: 10 or [1900,1999]
*/
public $yearRange = null;
public $yearRange;
/**
* @var int first day of the week

View File

@ -36,17 +36,17 @@ class FileUpload extends FormWidgetBase
/**
* @var string Prompt text to display for the upload button.
*/
public $prompt = null;
public $prompt;
/**
* @var int Preview image width
*/
public $imageWidth = null;
public $imageWidth;
/**
* @var int Preview image height
*/
public $imageHeight = null;
public $imageHeight;
/**
* @var mixed Collection of acceptable file types.

View File

@ -37,12 +37,12 @@ class MediaFinder extends FormWidgetBase
/**
* @var int Preview image width
*/
public $imageWidth = null;
public $imageWidth;
/**
* @var int Preview image height
*/
public $imageHeight = null;
public $imageHeight;
//
// Object properties

View File

@ -39,12 +39,12 @@ class Repeater extends FormWidgetBase
/**
* @var int Minimum items required. Pre-displays those items when not using groups
*/
public $minItems = null;
public $minItems;
/**
* @var int Maximum items permitted
*/
public $maxItems = null;
public $maxItems;
//
// Object properties

View File

@ -29,7 +29,7 @@ class RichEditor extends FormWidgetBase
/**
* @var boolean Determines whether content has HEAD and HTML tags.
*/
public $toolbarButtons = null;
public $toolbarButtons;
/**
* @var boolean If true, the editor is set to read-only mode

View File

@ -30,7 +30,7 @@ class TagList extends FormWidgetBase
/**
* @var mixed Predefined options settings. Set to true to get from model.
*/
public $options = null;
public $options;
/**
* @var string Mode for the return value. Values: string, array, relation.

View File

@ -32,7 +32,7 @@ class Filter extends WidgetBase
* @var string The context of this filter, scopes that do not belong
* to this context will not be shown.
*/
public $context = null;
public $context;
//
// Object properties

View File

@ -56,7 +56,7 @@ class Form extends WidgetBase
* @var string The context of this form, fields that do not belong
* to this context will not be shown.
*/
public $context = null;
public $context;
/**
* @var string If the field element names should be contained in an array.

View File

@ -38,7 +38,7 @@ class MediaManager extends WidgetBase
const FILTER_EVERYTHING = 'everything';
protected $brokenImageHash = null;
protected $brokenImageHash;
/**
* @var boolean Determines whether the widget is in readonly mode or not

View File

@ -34,12 +34,12 @@ class Table extends WidgetBase
/**
* @var Backend\Widgets\Table\DatasourceBase
*/
protected $dataSource = null;
protected $dataSource;
/**
* @var string Field name used for request data.
*/
protected $fieldName = null;
protected $fieldName;
/**
* @var string

View File

@ -34,7 +34,7 @@ class Asset extends Extendable
/**
* @var string Specifies the file name, the CMS object was loaded from.
*/
protected $originalFileName = null;
protected $originalFileName;
/**
* @var string Last modified time.

View File

@ -73,7 +73,7 @@ class CmsCompoundObject extends CmsObject
/**
* @var array|null Cache for component properties.
*/
protected static $objectComponentPropertyMap = null;
protected static $objectComponentPropertyMap;
/**
* @var mixed Cache store for the getViewBag method.

View File

@ -99,12 +99,12 @@ class Controller
/**
* @var self Cache of self
*/
protected static $instance = null;
protected static $instance;
/**
* @var \Cms\Classes\ComponentBase Object of the active component, used internally.
*/
protected $componentContext = null;
protected $componentContext;
/**
* @var array Component partial stack, used internally.

View File

@ -13,7 +13,7 @@ class PartialStack
/**
* @var array The current partial "object" being rendered.
*/
public $activePartial = null;
public $activePartial;
/**
* @var array Collection of previously rendered partial "objects".

View File

@ -34,7 +34,7 @@ class Theme
/**
* @var mixed Keeps the cached configuration file values.
*/
protected $configCache = null;
protected $configCache;
/**
* @var mixed Active theme cache in memory

View File

@ -12,7 +12,7 @@ use Route;
*/
class Cms
{
protected static $actionExists = null;
protected static $actionExists;
/**
* Returns a URL in context of the Frontend

View File

@ -72,12 +72,12 @@ trait UrlMaker
/**
* @var string URL cache
*/
protected $url = null;
protected $url;
/**
* @var string Page where detected component is found.
*/
protected static $urlPageName = null;
protected static $urlPageName;
/**
* Changes the component used for generating the URLs dynamically.

View File

@ -63,7 +63,7 @@ class TemplateList extends WidgetBase
/**
* @var string Extra CSS class name to apply to the control.
*/
public $controlClass = null;
public $controlClass;
/**
* @var string A list of file name patterns to suppress / hide.

View File

@ -28,7 +28,7 @@ class PluginVersion extends Model
/**
* @var array Cache store for version information
*/
protected static $versionCache = null;
protected static $versionCache;
/**
* @var bool Plugin has been disabled by a missing dependency.