Completed
Push — 2.x ( 653d47...cd0ffb )
by Akihito
14s queued 11s
created

src/CompilerInterface.php (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\Aop;
6
7
interface CompilerInterface
8
{
9
    /**
10
     * Compile class
11
     *
12
     * @param class-string $class
0 ignored issues
show
The doc-type class-string could not be parsed: Unknown type name "class-string" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
13
     */
14
    public function compile(string $class, BindInterface $bind) : string;
15
16
    /**
17
     * Return new instance weaved interceptor(s)
18
     *
19
     * @param class-string $class
0 ignored issues
show
The doc-type class-string could not be parsed: Unknown type name "class-string" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
20
     * @param mixed[]      $args
21
     *
22
     * @return object
23
     */
24
    public function newInstance(string $class, array $args, BindInterface $bind);
25
}
26