File tree Expand file tree Collapse file tree 4 files changed +28
-16
lines changed Expand file tree Collapse file tree 4 files changed +28
-16
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
- declare (strict_types=1 );
3
-
4
2
namespace Jaeger \Symfony \Tag ;
5
3
6
4
use Jaeger \Tag \StringTag ;
7
5
8
6
class DebugRequestTag extends StringTag
9
7
{
10
- public function __construct (string $ value )
8
+ /**
9
+ * DebugRequestTag constructor.
10
+ *
11
+ * @param string $value
12
+ */
13
+ public function __construct ($ value )
11
14
{
12
- parent ::__construct ('debug.request ' , $ value );
15
+ parent ::__construct ('debug.request ' , ( string ) $ value );
13
16
}
14
17
}
Original file line number Diff line number Diff line change 1
1
<?php
2
- declare (strict_types=1 );
3
-
4
2
namespace Jaeger \Symfony \Tag ;
5
3
6
4
use Jaeger \Tag \LongTag ;
7
5
8
6
class TimeMicroTag extends LongTag
9
7
{
10
- public function __construct (int $ value )
8
+ /**
9
+ * TimeMicroTag constructor.
10
+ *
11
+ * @param int $value
12
+ */
13
+ public function __construct ($ value )
11
14
{
12
- parent ::__construct ('time.micro ' , $ value );
15
+ parent ::__construct ('time.micro ' , ( int ) $ value );
13
16
}
14
17
}
Original file line number Diff line number Diff line change 1
1
<?php
2
- declare (strict_types=1 );
3
-
4
2
namespace Jaeger \Symfony \Tag ;
5
3
6
4
use Jaeger \Tag \StringTag ;
7
5
8
6
class TimeSourceTag extends StringTag
9
7
{
10
- public function __construct (string $ value )
8
+ /**
9
+ * TimeSourceTag constructor.
10
+ *
11
+ * @param string $value
12
+ */
13
+ public function __construct ($ value )
11
14
{
12
- parent ::__construct ('time.source ' , $ value );
15
+ parent ::__construct ('time.source ' , ( string ) $ value );
13
16
}
14
17
}
Original file line number Diff line number Diff line change 1
1
<?php
2
- declare (strict_types=1 );
3
-
4
2
namespace Jaeger \Symfony \Tag ;
5
3
6
4
use Jaeger \Tag \DoubleTag ;
7
5
8
6
class TimeValueTag extends DoubleTag
9
7
{
10
- public function __construct (float $ value )
8
+ /**
9
+ * TimeValueTag constructor.
10
+ *
11
+ * @param float $value
12
+ */
13
+ public function __construct ($ value )
11
14
{
12
- parent ::__construct ('time.value ' , $ value );
15
+ parent ::__construct ('time.value ' , ( float ) $ value );
13
16
}
14
17
}
You can’t perform that action at this time.
0 commit comments