[FOLLOWUP] Convert remaining occurences of makeInstance
[Packages/TYPO3.CMS.git] / typo3 / sysext / reports / Classes / Status.php
index 09f5567..a033df8 100644 (file)
@@ -13,6 +13,7 @@ namespace TYPO3\CMS\Reports;
  *
  * The TYPO3 project - inspiring people to share!
  */
  *
  * The TYPO3 project - inspiring people to share!
  */
+
 /**
  * A class representing a certain status
  *
 /**
  * A class representing a certain status
  *
@@ -25,6 +26,7 @@ class Status {
        const OK = 0;
        const WARNING = 1;
        const ERROR = 2;
        const OK = 0;
        const WARNING = 1;
        const ERROR = 2;
+
        /**
         * @var string
         */
        /**
         * @var string
         */
@@ -41,7 +43,7 @@ class Status {
        protected $message;
 
        /**
        protected $message;
 
        /**
-        * @var integer
+        * @var int
         */
        protected $severity;
 
         */
        protected $severity;
 
@@ -58,9 +60,9 @@ class Status {
         * @param int $severity A severity level. Use one of the constants above!
         */
        public function __construct($title, $value, $message = '', $severity = self::OK) {
         * @param int $severity A severity level. Use one of the constants above!
         */
        public function __construct($title, $value, $message = '', $severity = self::OK) {
-               $this->title = (string) $title;
-               $this->value = (string) $value;
-               $this->message = (string) $message;
+               $this->title = (string)$title;
+               $this->value = (string)$value;
+               $this->message = (string)$message;
                $this->severity = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($severity, self::NOTICE, self::ERROR, self::OK);
        }
 
                $this->severity = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($severity, self::NOTICE, self::ERROR, self::OK);
        }