Skip to content

Commit db9d6b8

Browse files
committed
Fix
1 parent 9204709 commit db9d6b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+3225
-17276
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ npm-debug.log
88
Thumbs.db
99
server.log
1010
.DS_Store
11+
.venv
1112
.log
1213
/.idea
1314
/.vscode

assets/sw.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/sw.js.gz

34 Bytes
Binary file not shown.

package-lock.json

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"mini-css-extract-plugin": "^0.9.0",
3838
"moment": "^2.29.1",
3939
"moment-locales-webpack-plugin": "^1.2.0",
40-
"node-sass": "^4.14.1",
4140
"optimize-css-assets-webpack-plugin": "^5.0.8",
4241
"plotly.js": "^1.58.5",
4342
"sass": "^1.38.0",

src/Events/DatasetInferred.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ class DatasetInferred implements Event
1616
/**
1717
* The dataset that was used to make the predictions.
1818
*
19-
* @var \Rubix\ML\Datasets\Dataset
19+
* @var Dataset
2020
*/
21-
protected \Rubix\ML\Datasets\Dataset $dataset;
21+
protected Dataset $dataset;
2222

2323
/**
24-
* @param \Rubix\ML\Datasets\Dataset $dataset
24+
* @param Dataset $dataset
2525
*/
2626
public function __construct(Dataset $dataset)
2727
{
@@ -31,7 +31,7 @@ public function __construct(Dataset $dataset)
3131
/**
3232
* Return the dataset object.
3333
*
34-
* @return \Rubix\ML\Datasets\Dataset
34+
* @return Dataset
3535
*/
3636
public function dataset() : Dataset
3737
{

src/Events/Failure.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ abstract class Failure implements Event
1616
/**
1717
* The exception.
1818
*
19-
* @var \Exception
19+
* @var Exception
2020
*/
21-
protected \Exception $exception;
21+
protected Exception $exception;
2222

2323
/**
24-
* @param \Exception $exception
24+
* @param Exception $exception
2525
*/
2626
public function __construct(Exception $exception)
2727
{
@@ -31,7 +31,7 @@ public function __construct(Exception $exception)
3131
/**
3232
* Return the exception.
3333
*
34-
* @return \Exception
34+
* @return Exception
3535
*/
3636
public function exception() : Exception
3737
{

src/Events/MemoryUsageUpdated.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ class MemoryUsageUpdated implements Event
1616
/**
1717
* The memory model.
1818
*
19-
* @var \Rubix\Server\Models\Memory
19+
* @var Memory
2020
*/
21-
protected \Rubix\Server\Models\Memory $memory;
21+
protected Memory $memory;
2222

2323
/**
24-
* @param \Rubix\Server\Models\Memory $memory
24+
* @param Memory $memory
2525
*/
2626
public function __construct(Memory $memory)
2727
{
@@ -31,7 +31,7 @@ public function __construct(Memory $memory)
3131
/**
3232
* Return the memory model.
3333
*
34-
* @return \Rubix\Server\Models\Memory
34+
* @return Memory
3535
*/
3636
public function memory() : Memory
3737
{

src/Events/RequestReceived.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ class RequestReceived implements Event
1616
/**
1717
* The request.
1818
*
19-
* @var \Psr\Http\Message\ServerRequestInterface
19+
* @var ServerRequestInterface
2020
*/
21-
protected \Psr\Http\Message\ServerRequestInterface $request;
21+
protected ServerRequestInterface $request;
2222

2323
/**
24-
* @param \Psr\Http\Message\ServerRequestInterface $request
24+
* @param ServerRequestInterface $request
2525
*/
2626
public function __construct(ServerRequestInterface $request)
2727
{
@@ -31,7 +31,7 @@ public function __construct(ServerRequestInterface $request)
3131
/**
3232
* Return the request.
3333
*
34-
* @return \Psr\Http\Message\ServerRequestInterface
34+
* @return ServerRequestInterface
3535
*/
3636
public function request() : ServerRequestInterface
3737
{

src/Events/ResponseSent.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ class ResponseSent implements Event
1616
/**
1717
* The response.
1818
*
19-
* @var \Psr\Http\Message\ResponseInterface
19+
* @var ResponseInterface
2020
*/
21-
protected \Psr\Http\Message\ResponseInterface $response;
21+
protected ResponseInterface $response;
2222

2323
/**
24-
* @param \Psr\Http\Message\ResponseInterface $response
24+
* @param ResponseInterface $response
2525
*/
2626
public function __construct(ResponseInterface $response)
2727
{
@@ -31,7 +31,7 @@ public function __construct(ResponseInterface $response)
3131
/**
3232
* Return the response.
3333
*
34-
* @return \Psr\Http\Message\ResponseInterface
34+
* @return ResponseInterface
3535
*/
3636
public function response() : ResponseInterface
3737
{

0 commit comments

Comments
 (0)