Browse Source

PHP sphinx api: renamed SphinxClient c-tr to __construct

klirichek 9 years ago
parent
commit
cd705cfebf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/sphinxapi.php

+ 1 - 1
api/sphinxapi.php

@@ -461,7 +461,7 @@ class SphinxClient
 	/////////////////////////////////////////////////////////////////////////////
 
 	/// create a new client object and fill defaults
-	function SphinxClient ()
+	function __construct ()
 	{
 		// per-client-object settings
 		$this->_host		= "localhost";