Skip to content

Commit

Permalink
Moved functions to src
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinsarca committed Dec 28, 2024
1 parent 9fbec94 commit 9d0dbbe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once __DIR__ . '/functions.php';
require_once __DIR__ . '/src/functions.php';

spl_autoload_register(static function (string $class): bool {
$class = ltrim($class, '\\');
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"psr-4": {
"Opis\\Closure\\": "src/"
},
"files": ["functions.php"]
"files": ["src/functions.php"]
},
"autoload-dev": {
"psr-4": {
Expand Down
3 changes: 3 additions & 0 deletions src/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
SecurityException
};

/**
* @internal
*/
final class Serializer
{
private static bool $init = false;
Expand Down
File renamed without changes.

0 comments on commit 9d0dbbe

Please sign in to comment.