Skip to content

Commit

Permalink
- comment type fix
Browse files Browse the repository at this point in the history
- config validation added
  • Loading branch information
krowinski committed Apr 27, 2018
1 parent 2487f91 commit b565499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private function parseArray($size)
}

/**
* @param string $type
* @param int $type
* @throws JsonBinaryDecoderException
*/
private function parseScalar($type)
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/MySQLReplicationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function __construct(
EventDispatcherInterface $eventDispatcher = null,
SocketInterface $socket = null
) {
Config::validate();
$config::validate();

if (null === $repository) {
$this->connection = DriverManager::getConnection(
Expand Down

0 comments on commit b565499

Please sign in to comment.