Skip to content

Commit

Permalink
修正样式
Browse files Browse the repository at this point in the history
  • Loading branch information
youmingdot committed Apr 20, 2018
1 parent 50efc82 commit 1ea791c
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Homer/Invokers/InvokingException.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ public function isSerialization()
{
return $this->getCode() == static::SERIALIZATION;
}
}
}
1 change: 0 additions & 1 deletion src/Homer/Invokers/RemoteInvoker.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use Illuminate\Support\Facades\Log;
use Lawoole\Homer\Context;
use Lawoole\Homer\HomerException;
use Lawoole\Homer\Invocation;
use Lawoole\Homer\Result;
use Lawoole\Homer\Transport\Client;
Expand Down
2 changes: 1 addition & 1 deletion src/Homer/Serialization/Serializers/NativeSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public function unserialize($data)
{
return unserialize($data);
}
}
}
2 changes: 1 addition & 1 deletion src/Homer/Serialization/Serializers/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ abstract public function serialize($message);
* @return mixed
*/
abstract public function unserialize($data);
}
}
2 changes: 1 addition & 1 deletion src/Homer/Serialization/Serializers/SerializerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ protected function createSerializer($type)
throw new InvalidArgumentException("Serializer type [{$type}] is not supported.");
}
}
}
}
2 changes: 1 addition & 1 deletion src/Homer/Serialization/Serializers/SwooleSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public function unserialize($data)
{
return Serialize::unpack($data);
}
}
}
2 changes: 1 addition & 1 deletion src/Homer/Transport/SerializeServerSocketMessages.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ protected function getSerializer($serverSocket)
* @return string
*/
abstract protected function getDefaultSerializer();
}
}
2 changes: 1 addition & 1 deletion src/Homer/Transport/TransportException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
class TransportException extends HomerException
{
//
}
}
1 change: 0 additions & 1 deletion src/Homer/Transport/Whisper/WhisperClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
use Lawoole\Homer\Transport\Client;
use Lawoole\Homer\Transport\TransportException;
use Swoole\Client as SwooleClient;
use Swoole\Serialize;
use Throwable;

class WhisperClient extends Client
Expand Down

0 comments on commit 1ea791c

Please sign in to comment.