Skip to content

Commit c7dcaae

Browse files
Update comments
1 parent 406dddf commit c7dcaae

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

src/Config/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Pavlusha311245\UnitPhpSdk\Config;
44

55
/**
6-
* Application class
6+
* This class presents "application" section from config
77
*/
88
class Application
99
{

src/Config/Listener.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Pavlusha311245\UnitPhpSdk\Exceptions\UnitException;
66

7+
/**
8+
* This class presents "listeners" section from config
9+
*/
710
class Listener
811
{
912
private string $_link;

src/Config/Route.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Pavlusha311245\UnitPhpSdk\Config\Routes\RouteBlock;
66

7+
/**
8+
* This class presents "routes" section from config
9+
*/
710
class Route
811
{
912
private array $_routeBlocks;

src/Enums/HttpSchemeEnum.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Pavlusha311245\UnitPhpSdk\Enums;
44

5+
/**
6+
* List of HTTP schemes
7+
*/
58
enum HttpSchemeEnum
69
{
710
case HTTP;

src/Exceptions/UnitException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Exception;
66

7+
/**
8+
* Custom exception
9+
*/
710
class UnitException extends Exception
811
{
912
// TODO: Implement

src/Interfaces/StatisticsInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
interface StatisticsInterface
66
{
7-
public function getConnections();
7+
public function getConnections(): array;
88

9-
public function getRequests();
9+
public function getRequests(): array;
1010

11-
public function getApplications();
11+
public function getApplications(): array;
1212
}

0 commit comments

Comments
 (0)