Explorar o código

[Console] Add docblocks

Jordi Boggiano %!s(int64=13) %!d(string=hai) anos
pai
achega
7ce22f0cef
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/Symfony/Component/Console/Application.php

+ 10 - 0
src/Symfony/Component/Console/Application.php

@@ -789,6 +789,11 @@ class Application
         }
     }
 
+    /**
+     * Tries to figure out the terminal width in which this application runs
+     *
+     * @return int|null
+     */
     protected function getTerminalWidth()
     {
         if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) {
@@ -800,6 +805,11 @@ class Application
         }
     }
 
+    /**
+     * Tries to figure out the terminal height in which this application runs
+     *
+     * @return int|null
+     */
     protected function getTerminalHeight()
     {
         if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) {