Skip to content

Commit

Permalink
Add table notices
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Apr 9, 2024
1 parent 9c18174 commit 00568a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Writerside/topics/language.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ Below is a list of conditional types.

Below is a list of literal types/lexemes.

<warning>This table is not yet formatted</warning>

| Code Example | TypeLang | Psalm | PHPStan |
|-----------------------------------------------|----------------------------------------------|---------------------------------------------------|-------------------------------------------------------------------------------|
| `true` or `false` | ✔️ | ✔️ | ✔️ |
Expand Down Expand Up @@ -474,6 +476,8 @@ Below is a list of literal types/lexemes.

Below is a list of grammar of shaped types.

<warning>This table is not yet formatted</warning>

| Code Example | TypeLang | Psalm | PHPStan |
|------------------------------------------------|----------|----------------------------------------------------------------|-------------------------------------------------------------------------------|
| Explicit Shape `Type{key:val}` | ✔️ | [⚠️ only `array` and `object`](https://psalm.dev/r/4ec6feecc1) | ✔️ |
Expand All @@ -490,6 +494,8 @@ Below is a list of grammar of shaped types.

Below is a list of grammar of callable (function) types.

<warning>This table is not yet formatted</warning>

| Code Example | TypeLang | Psalm | PHPStan |
|-----------------------------------------------------------------------|-------------------|----------------------------------------------------|------------|
| Simple Func `callable()` | ✔️ | ✔️ | ✔️ |
Expand Down

0 comments on commit 00568a4

Please sign in to comment.