Merge pull request #3152 from pradpnayak/CRM-14112
[civicrm-core.git] / CRM / Utils / Network.php
index bfaf3d8f571937f5322dd8d1acc40f886c4e2036..f9b3a4f088a7c1c04a5a442646a5fdd86f54ba2f 100644 (file)
@@ -40,8 +40,11 @@ class CRM_Utils_Network {
   /**
    * Try connecting to a TCP service; if it fails, retry. Repeat until serverStartupTimeOut elapses.
    *
+   * @param $host
+   * @param $port
    * @param int $serverStartupTimeOut seconds
    * @param float $interval seconds to wait in between pollings
+   *
    * @return bool TRUE if service is online
    */
   public static function waitForServiceStartup($host, $port, $serverStartupTimeOut, $interval = 0.333) {