Răsfoiți Sursa

Clean Constants.php

Joanhey 6 ani în urmă
părinte
comite
ac0cd8147b
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      Lib/Constants.php

+ 4 - 4
Lib/Constants.php

@@ -8,8 +8,9 @@
  *
  * @author    walkor<walkor@workerman.net>
  * @copyright walkor<walkor@workerman.net>
- * @link      http://www.workerman.net/
  * @license   http://www.opensource.org/licenses/mit-license.php MIT License
+ *
+ * @link      http://www.workerman.net/
  */
 
 // Display errors.
@@ -28,12 +29,11 @@ const WORKERMAN_CONNECT_FAIL = 1;
 const WORKERMAN_SEND_FAIL = 2;
 
 // Define OS Type
-const OS_TYPE_LINUX = 'linux';
+const OS_TYPE_LINUX   = 'linux';
 const OS_TYPE_WINDOWS = 'windows';
 
 // Compatible with php7
-if(!class_exists('Error'))
-{
+if ( ! class_exists('Error')) {
     class Error extends Exception
     {
     }