]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/resolver/protocol/tcp/class_TcpProtocolResolver.php
Merge branch 'refacuring/protocol_handler' into latest-core/crawler
[hub.git] / application / hub / main / resolver / protocol / tcp / class_TcpProtocolResolver.php
index c2aab32d95e97efd538bbabbb1f5d4b069a0c533..a7f79e98cc8c40bb7547a1a84b778d3bea17d455 100644 (file)
@@ -67,7 +67,7 @@ class TcpProtocolResolver extends BaseProtocolResolver implements ProtocolResolv
                $resultInstance = $nodeInstance->getWrapperInstance()->doSelectByCriteria($searchInstance);
 
                // Is the result valid?
-               if ((!$resultInstance->valid()) || (! $resultInstance->next())) {
+               if ((!$resultInstance->valid()) || (!$resultInstance->next())) {
                        // Node not found in database, this could mean that your database file is damaged.
                        return NULL;
                } // END - if