Skip to content

Commit 9feffcb

Browse files
committed
Updated to 1.0.3 version
1 parent 963bb6e commit 9feffcb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Hook::setSingletonName($method);
6969
```
7070

7171
| Atttribute | Description | Type | Required | Default
72-
| --- | --- | --- |
72+
| --- | --- | --- | --- | --- |
7373
| $method | Set method name for use singleton pattern | string | Yes | |
7474

7575
**addAction()**
@@ -78,7 +78,7 @@ Hook::addAction($tag, $function, $priority, $args);
7878
```
7979

8080
| Atttribute | Description | Type | Required | Default
81-
| --- | --- | --- |
81+
| --- | --- | --- | --- | --- |
8282
| $tag | Action hook name | string | Yes | |
8383
| $function | Function to attach to action hook | callable | Yes | |
8484
| $priority | Set method name for use singleton pattern | int | No | 8 |
@@ -90,7 +90,7 @@ Hook::addActions($actions);
9090
```
9191

9292
| Atttribute | Description | Type | Required | Default
93-
| --- | --- | --- |
93+
| --- | --- | --- | --- | --- |
9494
| $actions | Actions hooks | array | Yes | |
9595

9696
**doAction()**
@@ -99,7 +99,7 @@ Hook::doAction($tag, $args, $remove);
9999
```
100100

101101
| Atttribute | Description | Type | Required | Default
102-
| --- | --- | --- |
102+
| --- | --- | --- | --- | --- |
103103
| $tag | Action hook name | string | Yes | |
104104
| $args | Optional arguments | mixed | No | array() |
105105
| $remove | Delete hook after executing actions | boolean | No | true |

0 commit comments

Comments
 (0)