Completed
Push — master ( b70884...5fde98 )
by Fabien
55:11
created
Classes/Configuration/TcaGridAspect.php 1 patch
Indentation   +74 added lines, -74 removed lines patch added patch discarded remove patch
@@ -20,87 +20,87 @@
 block discarded – undo
20 20
  */
21 21
 class TcaGridAspect implements TableConfigurationPostProcessingHookInterface
22 22
 {
23
-    /**
24
-     * Scans each data type of the TCA and add a Grid TCA if missing.
25
-     *
26
-     * @return array
27
-     */
28
-    public function processData()
29
-    {
30
-        $configuration = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('vidi');
23
+	/**
24
+	 * Scans each data type of the TCA and add a Grid TCA if missing.
25
+	 *
26
+	 * @return array
27
+	 */
28
+	public function processData()
29
+	{
30
+		$configuration = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('vidi');
31 31
 
32
-        $dataTypes = GeneralUtility::trimExplode(',', $configuration['data_types'], true);
32
+		$dataTypes = GeneralUtility::trimExplode(',', $configuration['data_types'], true);
33 33
 
34
-        if (ExtensionManagementUtility::isLoaded('vidi_frontend')) {
35
-            $extendedConfiguration = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('vidi_frontend');
36
-            $vidiFrontendContentTypes = GeneralUtility::trimExplode(',', $extendedConfiguration['content_types'], true);
37
-            $extendedDataTypes = array_merge($dataTypes, $vidiFrontendContentTypes);
38
-            $dataTypes = array_unique($extendedDataTypes);
39
-        }
34
+		if (ExtensionManagementUtility::isLoaded('vidi_frontend')) {
35
+			$extendedConfiguration = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('vidi_frontend');
36
+			$vidiFrontendContentTypes = GeneralUtility::trimExplode(',', $extendedConfiguration['content_types'], true);
37
+			$extendedDataTypes = array_merge($dataTypes, $vidiFrontendContentTypes);
38
+			$dataTypes = array_unique($extendedDataTypes);
39
+		}
40 40
 
41
-        foreach ($dataTypes as $dataType) {
42
-            $this->ensureMinimumTcaForGrid($dataType);
43
-        }
41
+		foreach ($dataTypes as $dataType) {
42
+			$this->ensureMinimumTcaForGrid($dataType);
43
+		}
44 44
 
45
-        return array($GLOBALS['TCA']);
46
-    }
45
+		return array($GLOBALS['TCA']);
46
+	}
47 47
 
48
-    /**
49
-     * @param string $dataType
50
-     */
51
-    protected function ensureMinimumTcaForGrid($dataType)
52
-    {
53
-        $labelField = $this->getLabelField($dataType);
54
-        if (empty($GLOBALS['TCA'][$dataType]['grid'])) {
55
-            $GLOBALS['TCA'][$dataType]['grid'] = [];
56
-        }
48
+	/**
49
+	 * @param string $dataType
50
+	 */
51
+	protected function ensureMinimumTcaForGrid($dataType)
52
+	{
53
+		$labelField = $this->getLabelField($dataType);
54
+		if (empty($GLOBALS['TCA'][$dataType]['grid'])) {
55
+			$GLOBALS['TCA'][$dataType]['grid'] = [];
56
+		}
57 57
 
58
-        if (empty($GLOBALS['TCA'][$dataType]['grid']['facets'])) {
59
-            $GLOBALS['TCA'][$dataType]['grid']['facets'] = [
60
-                'uid',
61
-                $labelField,
62
-            ];
63
-        }
58
+		if (empty($GLOBALS['TCA'][$dataType]['grid']['facets'])) {
59
+			$GLOBALS['TCA'][$dataType]['grid']['facets'] = [
60
+				'uid',
61
+				$labelField,
62
+			];
63
+		}
64 64
 
65
-        if (empty($GLOBALS['TCA'][$dataType]['grid']['columns'])) {
66
-            $GLOBALS['TCA'][$dataType]['grid']['columns'] = [
67
-                '__checkbox' => [
68
-                    'renderer' => CheckBoxRenderer::class,
69
-                ],
70
-                'uid' => [
71
-                    'visible' => false,
72
-                    'label' => '',
73
-                    'width' => '5px',
74
-                ],
75
-                $labelField => [
76
-                    'editable' => true,
77
-                ],
78
-                '__buttons' => [
79
-                    'renderer' => ButtonGroupRenderer::class,
80
-                ],
81
-            ];
82
-        }
83
-    }
65
+		if (empty($GLOBALS['TCA'][$dataType]['grid']['columns'])) {
66
+			$GLOBALS['TCA'][$dataType]['grid']['columns'] = [
67
+				'__checkbox' => [
68
+					'renderer' => CheckBoxRenderer::class,
69
+				],
70
+				'uid' => [
71
+					'visible' => false,
72
+					'label' => '',
73
+					'width' => '5px',
74
+				],
75
+				$labelField => [
76
+					'editable' => true,
77
+				],
78
+				'__buttons' => [
79
+					'renderer' => ButtonGroupRenderer::class,
80
+				],
81
+			];
82
+		}
83
+	}
84 84
 
85
-    /**
86
-     * Get the label name of table name.
87
-     *
88
-     * @param string $dataType
89
-     * @return bool
90
-     */
91
-    protected function getLabelField($dataType)
92
-    {
93
-        return $GLOBALS['TCA'][$dataType]['ctrl']['label'];
94
-    }
85
+	/**
86
+	 * Get the label name of table name.
87
+	 *
88
+	 * @param string $dataType
89
+	 * @return bool
90
+	 */
91
+	protected function getLabelField($dataType)
92
+	{
93
+		return $GLOBALS['TCA'][$dataType]['ctrl']['label'];
94
+	}
95 95
 
96
-    /**
97
-     * Tell whether the table has a label field.
98
-     *
99
-     * @param string $dataType
100
-     * @return bool
101
-     */
102
-    protected function hasLabelField($dataType)
103
-    {
104
-        return isset($GLOBALS['TCA'][$dataType]['ctrl']['label']);
105
-    }
96
+	/**
97
+	 * Tell whether the table has a label field.
98
+	 *
99
+	 * @param string $dataType
100
+	 * @return bool
101
+	 */
102
+	protected function hasLabelField($dataType)
103
+	{
104
+		return isset($GLOBALS['TCA'][$dataType]['ctrl']['label']);
105
+	}
106 106
 }
Please login to merge, or discard this patch.
Classes/Tca/Tca.php 1 patch
Indentation   +117 added lines, -117 removed lines patch added patch discarded remove patch
@@ -24,132 +24,132 @@
 block discarded – undo
24 24
  */
25 25
 class Tca implements SingletonInterface, TcaServiceInterface
26 26
 {
27
-    /**
28
-     * Fields that are considered as system.
29
-     *
30
-     * @var array
31
-     */
32
-    protected static $systemFields = array(
33
-        'uid',
34
-        'pid',
35
-        'tstamp',
36
-        'crdate',
37
-        'deleted',
38
-        'hidden',
39
-        'sys_language_uid',
40
-        'l18n_parent',
41
-        'l18n_diffsource',
42
-        't3ver_oid',
43
-        't3ver_id',
44
-        't3ver_wsid',
45
-        't3ver_label',
46
-        't3ver_state',
47
-        't3ver_stage',
48
-        't3ver_count',
49
-        't3ver_tstamp',
50
-        't3_origuid',
51
-    );
27
+	/**
28
+	 * Fields that are considered as system.
29
+	 *
30
+	 * @var array
31
+	 */
32
+	protected static $systemFields = array(
33
+		'uid',
34
+		'pid',
35
+		'tstamp',
36
+		'crdate',
37
+		'deleted',
38
+		'hidden',
39
+		'sys_language_uid',
40
+		'l18n_parent',
41
+		'l18n_diffsource',
42
+		't3ver_oid',
43
+		't3ver_id',
44
+		't3ver_wsid',
45
+		't3ver_label',
46
+		't3ver_state',
47
+		't3ver_stage',
48
+		't3ver_count',
49
+		't3ver_tstamp',
50
+		't3_origuid',
51
+	);
52 52
 
53
-    /**
54
-     * @var array
55
-     */
56
-    protected static $instances;
53
+	/**
54
+	 * @var array
55
+	 */
56
+	protected static $instances;
57 57
 
58
-    /**
59
-     * Returns a class instance of a corresponding TCA service.
60
-     * If the class instance does not exist, create one.
61
-     *
62
-     * @throws NotExistingClassException
63
-     * @param string $dataType
64
-     * @param string $serviceType
65
-     * @return TcaServiceInterface
66
-     * @throws InvalidKeyInArrayException
67
-     * @throws \InvalidArgumentException
68
-     */
69
-    protected static function getService($dataType, $serviceType)
70
-    {
71
-        if (ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend() && empty($dataType)) {
72
-            /** @var ModuleLoader $moduleLoader */
73
-            $moduleLoader = GeneralUtility::makeInstance(ModuleLoader::class);
74
-            $dataType = $moduleLoader->getDataType();
75
-        }
58
+	/**
59
+	 * Returns a class instance of a corresponding TCA service.
60
+	 * If the class instance does not exist, create one.
61
+	 *
62
+	 * @throws NotExistingClassException
63
+	 * @param string $dataType
64
+	 * @param string $serviceType
65
+	 * @return TcaServiceInterface
66
+	 * @throws InvalidKeyInArrayException
67
+	 * @throws \InvalidArgumentException
68
+	 */
69
+	protected static function getService($dataType, $serviceType)
70
+	{
71
+		if (ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend() && empty($dataType)) {
72
+			/** @var ModuleLoader $moduleLoader */
73
+			$moduleLoader = GeneralUtility::makeInstance(ModuleLoader::class);
74
+			$dataType = $moduleLoader->getDataType();
75
+		}
76 76
 
77
-        if (empty(self::$instances[$dataType][$serviceType])) {
78
-            $className = sprintf('Fab\Vidi\Tca\%sService', ucfirst($serviceType));
77
+		if (empty(self::$instances[$dataType][$serviceType])) {
78
+			$className = sprintf('Fab\Vidi\Tca\%sService', ucfirst($serviceType));
79 79
 
80
-            // Signal to pre-process the TCA of the given $dataType.
81
-            self::emitPreProcessTcaSignal($dataType, $serviceType);
80
+			// Signal to pre-process the TCA of the given $dataType.
81
+			self::emitPreProcessTcaSignal($dataType, $serviceType);
82 82
 
83
-            $instance = GeneralUtility::makeInstance($className, $dataType, $serviceType);
84
-            self::$instances[$dataType][$serviceType] = $instance;
85
-        }
86
-        return self::$instances[$dataType][$serviceType];
87
-    }
83
+			$instance = GeneralUtility::makeInstance($className, $dataType, $serviceType);
84
+			self::$instances[$dataType][$serviceType] = $instance;
85
+		}
86
+		return self::$instances[$dataType][$serviceType];
87
+	}
88 88
 
89
-    /**
90
-     * Returns a "grid" service instance.
91
-     *
92
-     * @param string|Content $tableNameOrContentObject
93
-     * @return GridService
94
-     * @throws NotExistingClassException
95
-     */
96
-    public static function grid($tableNameOrContentObject = '')
97
-    {
98
-        $tableName = $tableNameOrContentObject instanceof Content ? $tableNameOrContentObject->getDataType() : $tableNameOrContentObject;
99
-        return self::getService($tableName, self::TYPE_GRID);
100
-    }
89
+	/**
90
+	 * Returns a "grid" service instance.
91
+	 *
92
+	 * @param string|Content $tableNameOrContentObject
93
+	 * @return GridService
94
+	 * @throws NotExistingClassException
95
+	 */
96
+	public static function grid($tableNameOrContentObject = '')
97
+	{
98
+		$tableName = $tableNameOrContentObject instanceof Content ? $tableNameOrContentObject->getDataType() : $tableNameOrContentObject;
99
+		return self::getService($tableName, self::TYPE_GRID);
100
+	}
101 101
 
102
-    /**
103
-     * Returns a "table" service instance ("ctrl" part of the TCA).
104
-     *
105
-     * @param string|Content $tableNameOrContentObject
106
-     * @return TableService
107
-     * @throws NotExistingClassException
108
-     */
109
-    public static function table($tableNameOrContentObject = '')
110
-    {
111
-        $tableName = $tableNameOrContentObject instanceof Content ? $tableNameOrContentObject->getDataType() : $tableNameOrContentObject;
112
-        return self::getService($tableName, self::TYPE_TABLE);
113
-    }
102
+	/**
103
+	 * Returns a "table" service instance ("ctrl" part of the TCA).
104
+	 *
105
+	 * @param string|Content $tableNameOrContentObject
106
+	 * @return TableService
107
+	 * @throws NotExistingClassException
108
+	 */
109
+	public static function table($tableNameOrContentObject = '')
110
+	{
111
+		$tableName = $tableNameOrContentObject instanceof Content ? $tableNameOrContentObject->getDataType() : $tableNameOrContentObject;
112
+		return self::getService($tableName, self::TYPE_TABLE);
113
+	}
114 114
 
115
-    /**
116
-     * @return array
117
-     */
118
-    public static function getInstanceStorage()
119
-    {
120
-        return self::$instances;
121
-    }
115
+	/**
116
+	 * @return array
117
+	 */
118
+	public static function getInstanceStorage()
119
+	{
120
+		return self::$instances;
121
+	}
122 122
 
123
-    /**
124
-     * @return array
125
-     */
126
-    public static function getSystemFields()
127
-    {
128
-        return self::$systemFields;
129
-    }
123
+	/**
124
+	 * @return array
125
+	 */
126
+	public static function getSystemFields()
127
+	{
128
+		return self::$systemFields;
129
+	}
130 130
 
131
-    /**
132
-     * Signal that is called after the content repository for a content type has been instantiated.
133
-     *
134
-     * @param string $dataType
135
-     * @param string $serviceType
136
-     * @throws InvalidSlotException
137
-     * @throws InvalidSlotReturnException
138
-     * @throws \InvalidArgumentException
139
-     */
140
-    protected static function emitPreProcessTcaSignal($dataType, $serviceType)
141
-    {
142
-        self::getSignalSlotDispatcher()->dispatch(Tca::class, 'preProcessTca', array($dataType, $serviceType));
143
-    }
131
+	/**
132
+	 * Signal that is called after the content repository for a content type has been instantiated.
133
+	 *
134
+	 * @param string $dataType
135
+	 * @param string $serviceType
136
+	 * @throws InvalidSlotException
137
+	 * @throws InvalidSlotReturnException
138
+	 * @throws \InvalidArgumentException
139
+	 */
140
+	protected static function emitPreProcessTcaSignal($dataType, $serviceType)
141
+	{
142
+		self::getSignalSlotDispatcher()->dispatch(Tca::class, 'preProcessTca', array($dataType, $serviceType));
143
+	}
144 144
 
145
-    /**
146
-     * Get the SignalSlot dispatcher
147
-     *
148
-     * @return Dispatcher
149
-     * @throws \InvalidArgumentException
150
-     */
151
-    protected static function getSignalSlotDispatcher()
152
-    {
153
-        return GeneralUtility::makeInstance(Dispatcher::class);
154
-    }
145
+	/**
146
+	 * Get the SignalSlot dispatcher
147
+	 *
148
+	 * @return Dispatcher
149
+	 * @throws \InvalidArgumentException
150
+	 */
151
+	protected static function getSignalSlotDispatcher()
152
+	{
153
+		return GeneralUtility::makeInstance(Dispatcher::class);
154
+	}
155 155
 }
Please login to merge, or discard this patch.
Classes/Tca/TcaServiceInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
  */
15 15
 interface TcaServiceInterface
16 16
 {
17
-    public const TYPE_TABLE = 'table';
17
+	public const TYPE_TABLE = 'table';
18 18
 
19
-    public const TYPE_FIELD = 'field';
19
+	public const TYPE_FIELD = 'field';
20 20
 
21
-    public const TYPE_GRID = 'grid';
21
+	public const TYPE_GRID = 'grid';
22 22
 
23
-    public const TYPE_FORM = 'form';
23
+	public const TYPE_FORM = 'form';
24 24
 
25
-    public const TYPE_FACET = 'facet';
25
+	public const TYPE_FACET = 'facet';
26 26
 }
Please login to merge, or discard this patch.
Classes/Tca/AbstractTca.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -16,33 +16,33 @@
 block discarded – undo
16 16
  */
17 17
 abstract class AbstractTca implements TcaServiceInterface
18 18
 {
19
-    /**
20
-     * Returns an instance of the current Backend User.
21
-     *
22
-     * @return BackendUserAuthentication
23
-     */
24
-    protected function getBackendUser()
25
-    {
26
-        return $GLOBALS['BE_USER'];
27
-    }
19
+	/**
20
+	 * Returns an instance of the current Backend User.
21
+	 *
22
+	 * @return BackendUserAuthentication
23
+	 */
24
+	protected function getBackendUser()
25
+	{
26
+		return $GLOBALS['BE_USER'];
27
+	}
28 28
 
29
-    /**
30
-     * Returns whether the current mode is Backend.
31
-     *
32
-     * @return bool
33
-     */
34
-    protected function isBackendMode()
35
-    {
36
-        return ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend();
37
-    }
29
+	/**
30
+	 * Returns whether the current mode is Backend.
31
+	 *
32
+	 * @return bool
33
+	 */
34
+	protected function isBackendMode()
35
+	{
36
+		return ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend();
37
+	}
38 38
 
39
-    /**
40
-     * Returns whether the current mode is Frontend.
41
-     *
42
-     * @return bool
43
-     */
44
-    protected function isFrontendMode()
45
-    {
46
-        return ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isFrontend();
47
-    }
39
+	/**
40
+	 * Returns whether the current mode is Frontend.
41
+	 *
42
+	 * @return bool
43
+	 */
44
+	protected function isFrontendMode()
45
+	{
46
+		return ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isFrontend();
47
+	}
48 48
 }
Please login to merge, or discard this patch.
Classes/Tca/FieldType.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -16,27 +16,27 @@
 block discarded – undo
16 16
  */
17 17
 class FieldType extends Enumeration
18 18
 {
19
-    public const TEXT = 'text';
19
+	public const TEXT = 'text';
20 20
 
21
-    public const NUMBER = 'number';
21
+	public const NUMBER = 'number';
22 22
 
23
-    public const EMAIL = 'email';
23
+	public const EMAIL = 'email';
24 24
 
25
-    public const DATE = 'date';
25
+	public const DATE = 'date';
26 26
 
27
-    public const DATETIME = 'datetime';
27
+	public const DATETIME = 'datetime';
28 28
 
29
-    public const TEXTAREA = 'textarea';
29
+	public const TEXTAREA = 'textarea';
30 30
 
31
-    public const SELECT = 'select';
31
+	public const SELECT = 'select';
32 32
 
33
-    public const RADIO = 'radio';
33
+	public const RADIO = 'radio';
34 34
 
35
-    public const CHECKBOX = 'check';
35
+	public const CHECKBOX = 'check';
36 36
 
37
-    public const FILE = 'file';
37
+	public const FILE = 'file';
38 38
 
39
-    public const MULTISELECT = 'multiselect';
39
+	public const MULTISELECT = 'multiselect';
40 40
 
41
-    public const TREE = 'tree';
41
+	public const TREE = 'tree';
42 42
 }
Please login to merge, or discard this patch.
Classes/View/AbstractComponentView.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -20,47 +20,47 @@
 block discarded – undo
20 20
  */
21 21
 abstract class AbstractComponentView implements ViewComponentInterface
22 22
 {
23
-    /**
24
-     * Get the Vidi Module Loader.
25
-     *
26
-     * @return ModuleLoader|object
27
-     */
28
-    protected function getModuleLoader()
29
-    {
30
-        return GeneralUtility::makeInstance(ModuleLoader::class);
31
-    }
23
+	/**
24
+	 * Get the Vidi Module Loader.
25
+	 *
26
+	 * @return ModuleLoader|object
27
+	 */
28
+	protected function getModuleLoader()
29
+	{
30
+		return GeneralUtility::makeInstance(ModuleLoader::class);
31
+	}
32 32
 
33
-    /**
34
-     * Returns an instance of the current Backend User.
35
-     *
36
-     * @return BackendUserAuthentication
37
-     */
38
-    protected function getBackendUser()
39
-    {
40
-        return $GLOBALS['BE_USER'];
41
-    }
33
+	/**
34
+	 * Returns an instance of the current Backend User.
35
+	 *
36
+	 * @return BackendUserAuthentication
37
+	 */
38
+	protected function getBackendUser()
39
+	{
40
+		return $GLOBALS['BE_USER'];
41
+	}
42 42
 
43
-    /**
44
-     * @return LanguageService|object
45
-     */
46
-    protected function getLanguageService()
47
-    {
48
-        return GeneralUtility::makeInstance(LanguageService::class);
49
-    }
43
+	/**
44
+	 * @return LanguageService|object
45
+	 */
46
+	protected function getLanguageService()
47
+	{
48
+		return GeneralUtility::makeInstance(LanguageService::class);
49
+	}
50 50
 
51
-    /**
52
-     * @return IconFactory|object
53
-     */
54
-    protected function getIconFactory()
55
-    {
56
-        return GeneralUtility::makeInstance(IconFactory::class);
57
-    }
51
+	/**
52
+	 * @return IconFactory|object
53
+	 */
54
+	protected function getIconFactory()
55
+	{
56
+		return GeneralUtility::makeInstance(IconFactory::class);
57
+	}
58 58
 
59
-    /**
60
-     * @return LinkButton|object
61
-     */
62
-    protected function makeLinkButton()
63
-    {
64
-        return GeneralUtility::makeInstance(LinkButton::class);
65
-    }
59
+	/**
60
+	 * @return LinkButton|object
61
+	 */
62
+	protected function makeLinkButton()
63
+	{
64
+		return GeneralUtility::makeInstance(LinkButton::class);
65
+	}
66 66
 }
Please login to merge, or discard this patch.
Classes/View/ViewComponentInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
  */
15 15
 interface ViewComponentInterface
16 16
 {
17
-    /**
18
-     * Renders something to be printed out to the browser.
19
-     *
20
-     * @return string
21
-     */
22
-    public function render();
17
+	/**
18
+	 * Renders something to be printed out to the browser.
19
+	 *
20
+	 * @return string
21
+	 */
22
+	public function render();
23 23
 }
Please login to merge, or discard this patch.
Classes/View/System/CheckboxSystem.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -18,15 +18,15 @@
 block discarded – undo
18 18
  */
19 19
 class CheckboxSystem extends AbstractComponentView
20 20
 {
21
-    /**
22
-     * Returns a checkbox for the grids.
23
-     *
24
-     * @param Content $object
25
-     * @param  int $offset
26
-     * @return string
27
-     */
28
-    public function render(Content $object = null, $offset = 0)
29
-    {
30
-        return '';
31
-    }
21
+	/**
22
+	 * Returns a checkbox for the grids.
23
+	 *
24
+	 * @param Content $object
25
+	 * @param  int $offset
26
+	 * @return string
27
+	 */
28
+	public function render(Content $object = null, $offset = 0)
29
+	{
30
+		return '';
31
+	}
32 32
 }
Please login to merge, or discard this patch.
Classes/View/System/ButtonsSystem.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
  */
19 19
 class ButtonsSystem extends AbstractComponentView
20 20
 {
21
-    /**
22
-     * Rendering buttons in the grids given a Content object.
23
-     *
24
-     * @param Content $object
25
-     * @return string
26
-     */
27
-    public function render(Content $object = null)
28
-    {
29
-        return '';
30
-    }
21
+	/**
22
+	 * Rendering buttons in the grids given a Content object.
23
+	 *
24
+	 * @param Content $object
25
+	 * @return string
26
+	 */
27
+	public function render(Content $object = null)
28
+	{
29
+		return '';
30
+	}
31 31
 }
Please login to merge, or discard this patch.