blob: 8392587360b46e03a7de44f2bbf0b146bb9bd18a [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3declare(strict_types=1);
4
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01005/**
6 * This file is part of the Carbon package.
7 *
8 * (c) Brian Nesbitt <brian@nesbot.com>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
13
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020014namespace Carbon\PHPStan;
15
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020016use PHPStan\Reflection\Php\BuiltinMethodReflection;
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020017use ReflectionMethod;
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020018
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010019$method = new ReflectionMethod(BuiltinMethodReflection::class, 'getFileName');
20
21require $method->hasReturnType()
22 ? __DIR__.'/../../../lazy/Carbon/PHPStan/MacroStrongType.php'
23 : __DIR__.'/../../../lazy/Carbon/PHPStan/MacroWeakType.php';
24
25final class Macro extends LazyMacro
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020026{
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020027}