Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 4df6a5a

Browse files
author
Andrés Correa Casablanca
committed
Removed retval prefix for cleaner outputs
1 parent 1d816d5 commit 4df6a5a

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

src/Handlers/ShellMessagesHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
use Litipk\JupyterPHP\Actions\KernelInfoAction;
1717
use Litipk\JupyterPHP\Actions\ShutdownAction;
1818
use Litipk\JupyterPHP\JupyterBroker;
19+
use Litipk\JupyterPHP\Shell;
1920

2021
use Litipk\JupyterPHP\KernelOutput;
2122
use Monolog\Logger;
22-
use Psy\Shell;
2323
use React\ZMQ\SocketWrapper;
2424

2525
final class ShellMessagesHandler

src/KernelCore.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Litipk\JupyterPHP;
1313

14-
1514
use Litipk\JupyterPHP\Handlers\HbErrorHandler;
1615
use Litipk\JupyterPHP\Handlers\HbMessagesHandler;
1716
use Litipk\JupyterPHP\Handlers\IOPubMessagesHandler;
@@ -23,7 +22,6 @@
2322
use React\ZMQ\Context as ReactZmqContext;
2423
use React\ZMQ\SocketWrapper;
2524

26-
2725
/**
2826
* Class KernelCore (no pun intended)
2927
*/

src/Shell.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
/*
4+
* This file is part of Jupyter-PHP.
5+
*
6+
* (c) 2015-2017 Litipk
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Litipk\JupyterPHP;
13+
14+
use Psy\Shell as PsyShell;
15+
16+
class Shell extends PsyShell
17+
{
18+
const RETVAL = '';
19+
}

0 commit comments

Comments
 (0)