File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,9 @@ public static function formatTime(int|float $secs)
117117 }
118118 }
119119
120+ /**
121+ * @return string
122+ */
120123 public static function formatMemory (int $ memory )
121124 {
122125 if ($ memory >= 1024 * 1024 * 1024 ) {
@@ -134,6 +137,9 @@ public static function formatMemory(int $memory)
134137 return sprintf ('%d B ' , $ memory );
135138 }
136139
140+ /**
141+ * @return string
142+ */
137143 public static function removeDecoration (OutputFormatterInterface $ formatter , ?string $ string )
138144 {
139145 $ isDecorated = $ formatter ->isDecorated ();
Original file line number Diff line number Diff line change @@ -265,6 +265,9 @@ public function getNormalizer(): ?callable
265265 return $ this ->normalizer ;
266266 }
267267
268+ /**
269+ * @return bool
270+ */
268271 protected function isAssoc (array $ array )
269272 {
270273 return (bool ) \count (array_filter (array_keys ($ array ), 'is_string ' ));
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ public function isDebug(): bool
100100 return $ this ->output ->isDebug ();
101101 }
102102
103+ /**
104+ * @return OutputInterface
105+ */
103106 protected function getErrorOutput ()
104107 {
105108 if (!$ this ->output instanceof ConsoleOutputInterface) {
You can’t perform that action at this time.
0 commit comments