- changed old array() way to new [], still many might be missing
- updated framework
Signed-off-by: Roland Häder <roland@mxchange.org>
* @param $port Port number to connect to
* @return $responseArray Array with raw response
*/
- private function sendRawHttpRequest ($method, $host, $port, array $header = array()) {
+ private function sendRawHttpRequest ($method, $host, $port, array $header = []) {
// Minimum raw HTTP/1.1 request
$rawRequest = $method . ' ' . $host . ':' . $port . ' HTTP/1.1' . self::HTTP_EOL;
$rawRequest .= 'Host: ' . $host . ':' . $port . self::HTTP_EOL;
* @param $current An array with "raw" data from the database layer for the UNL. This parameter is optional.
* @return $locatorInstance An instance of a LocateableNode class
*/
- public final static function createUniversalNodeLocator (array $current = array()) {
+ public final static function createUniversalNodeLocator (array $current = []) {
// Get new instance
$locatorInstance = new UniversalNodeLocator();
* @param $unlData An array with "raw" data from the database layer for the UNL. This parameter is optional.
* @return void
*/
- private function initUniversalNodeLocator (array $unlData = array()) {
+ private function initUniversalNodeLocator (array $unlData = []) {
// Init UNL array
$this->unlData = [];
-Subproject commit 8a70226bd287a3f13b27932e2ec88d16c51c7e39
+Subproject commit 498e6b065ce47804bff4e1073592a2cc8e28f8ef