Skip to content

Commit fde44cc

Browse files
Merge branch 'trunk' into feature/unit-tests
2 parents 4e93a41 + 3402a88 commit fde44cc

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ vendor/
1919

2020
.claude/
2121
CLAUDE.md
22+
.cursor/
23+
GEMINI.md
2224

2325
############
2426
## PHPUnit
2527
############
2628

27-
.phpunit.cache/
29+
.phpunit.cache/

src/Common/AbstractEnum.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use ReflectionClass;
1010

1111
/**
12-
* Abstract base class for enum-like behavior in PHP 7.4
12+
* Abstract base class for enum-like behavior in PHP 7.4.
1313
*
1414
* This class provides enum-like functionality for PHP versions that don't support native enums.
1515
* Child classes should define uppercase snake_case constants for enum values.
@@ -35,22 +35,22 @@
3535
abstract class AbstractEnum
3636
{
3737
/**
38-
* @var string The value of the enum instance
38+
* @var string The value of the enum instance.
3939
*/
4040
private string $value;
4141

4242
/**
43-
* @var string The name of the enum constant
43+
* @var string The name of the enum constant.
4444
*/
4545
private string $name;
4646

4747
/**
48-
* @var array<string, array<string, string>> Cache for reflection data
48+
* @var array<string, array<string, string>> Cache for reflection data.
4949
*/
5050
private static array $cache = [];
5151

5252
/**
53-
* @var array<string, array<string, self>> Cache for enum instances
53+
* @var array<string, array<string, self>> Cache for enum instances.
5454
*/
5555
private static array $instances = [];
5656

src/Providers/Enums/ProviderTypeEnum.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
class ProviderTypeEnum extends AbstractEnum
2222
{
2323
/**
24-
* Cloud-based AI provider (e.g., OpenAI, Google, Anthropic).
24+
* Cloud-based AI provider (e.g. models available via external REST APIs).
2525
*/
2626
public const CLOUD = 'cloud';
2727

2828
/**
29-
* Server-side AI provider (e.g., self-hosted models).
29+
* Server-side AI provider (e.g. self-hosted models).
3030
*/
3131
public const SERVER = 'server';
3232

3333
/**
34-
* Client-side AI provider (e.g., browser-based models).
34+
* Client-side AI provider (e.g. browser-based models).
3535
*/
3636
public const CLIENT = 'client';
3737
}

0 commit comments

Comments
 (0)