aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-05-30 08:58:52 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-06-17 17:04:44 +0200
commit5739e7c5228e05b8f4f74b5369fc0cf577839d50 (patch)
tree10ee6dd9215026b65c02e2025dd8006ef99ece82
parentd9242cd62578ca3ad369e1520d0833b92e8f9938 (diff)
downloadWebsocket-5739e7c5228e05b8f4f74b5369fc0cf577839d50.zip
Websocket-5739e7c5228e05b8f4f74b5369fc0cf577839d50.tar.gz
Websocket-5739e7c5228e05b8f4f74b5369fc0cf577839d50.tar.bz2
Quality: Rename an internal variable.
-rw-r--r--Test/Unit/Protocol/Rfc6455.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/Unit/Protocol/Rfc6455.php b/Test/Unit/Protocol/Rfc6455.php
index 821dd33..98c0644 100644
--- a/Test/Unit/Protocol/Rfc6455.php
+++ b/Test/Unit/Protocol/Rfc6455.php
@@ -142,11 +142,11 @@ class Rfc6455 extends Test\Unit\Suite
return;
},
- $this->calling($socket)->writeAll = function ($data) use (&$calledB, $self, $challenge) {
+ $this->calling($socket)->writeAll = function ($_data) use (&$calledB, $self, $challenge) {
$calledB = true;
$self
- ->string($data)
+ ->string($_data)
->isEqualTo(
'HTTP/1.1 101 Switching Protocols' . CRLF .
'Upgrade: websocket' . CRLF .