Skip to content

Commit 39f63bd

Browse files
committed
updated PhpConsole library
1 parent d8fe953 commit 39f63bd

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/composer/installed.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,17 @@
9696
},
9797
{
9898
"name": "php-console/php-console",
99-
"version": "3.1.3",
100-
"version_normalized": "3.1.3.0",
99+
"version": "3.1.4",
100+
"version_normalized": "3.1.4.0",
101101
"source": {
102102
"type": "git",
103103
"url": "https://github.com/barbushin/php-console.git",
104-
"reference": "ef0e953214093196866edb536d6b64f106332820"
104+
"reference": "b40e988dcd7686128a47010161ba13e32d5fdb45"
105105
},
106106
"dist": {
107107
"type": "zip",
108-
"url": "https://api.github.com/repos/barbushin/php-console/zipball/ef0e953214093196866edb536d6b64f106332820",
109-
"reference": "ef0e953214093196866edb536d6b64f106332820",
108+
"url": "https://api.github.com/repos/barbushin/php-console/zipball/b40e988dcd7686128a47010161ba13e32d5fdb45",
109+
"reference": "b40e988dcd7686128a47010161ba13e32d5fdb45",
110110
"shasum": ""
111111
},
112112
"require": {
@@ -116,7 +116,7 @@
116116
"php-console/laravel-service-provider": "*",
117117
"php-console/silex-service-provider": "*"
118118
},
119-
"time": "2015-03-30 15:37:37",
119+
"time": "2015-06-30 07:52:47",
120120
"type": "library",
121121
"extra": {
122122
"branch-alias": {

vendor/php-console/php-console/src/PhpConsole/Connector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function isActiveClient() {
177177
/**
178178
* Set client connection as not active
179179
*/
180-
protected function breakClientConnection() {
180+
public function disable() {
181181
$this->isActiveClient = false;
182182
}
183183

@@ -203,7 +203,7 @@ public function setAllowedIpMasks(array $ipMasks) {
203203
}
204204
}
205205
}
206-
$this->breakClientConnection();
206+
$this->disable();
207207
}
208208
}
209209

@@ -546,7 +546,7 @@ private function listenGetPostponedResponse() {
546546
if(isset($_POST[self::POST_VAR_NAME]['getPostponedResponse'])) {
547547
header('Content-Type: application/json; charset=' . self::CLIENT_ENCODING);
548548
echo $this->getPostponeStorage()->pop($_POST[self::POST_VAR_NAME]['getPostponedResponse']);
549-
$this->breakClientConnection();
549+
$this->disable();
550550
exit;
551551
}
552552
}

0 commit comments

Comments
 (0)