@@ -24,7 +24,7 @@ |
||
24 | 24 | parent::__construct($message, 0, $previous); |
25 | 25 | } |
26 | 26 | /** |
27 | - * @return mixed |
|
27 | + * @return string |
|
28 | 28 | */ |
29 | 29 | public function getFormat() |
30 | 30 | { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
28 | - * @return DateTimeInterface |
|
28 | + * @return DateTimeImmutable |
|
29 | 29 | */ |
30 | 30 | protected function getDateTime() |
31 | 31 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
21 | - * @return int |
|
21 | + * @return double |
|
22 | 22 | */ |
23 | 23 | protected function getFontSize() |
24 | 24 | { |
@@ -7,7 +7,7 @@ |
||
7 | 7 | abstract class AbstractGraphicPrimitiveRenderer extends AbstractRenderer |
8 | 8 | { |
9 | 9 | /** |
10 | - * @return int |
|
10 | + * @return double |
|
11 | 11 | */ |
12 | 12 | protected function getLineWeight() |
13 | 13 | { |
@@ -9,21 +9,25 @@ |
||
9 | 9 | { |
10 | 10 | /** |
11 | 11 | * @param ParserInterface $parser |
12 | + * @return void |
|
12 | 13 | */ |
13 | 14 | public function setParser(ParserInterface $parser); |
14 | 15 | |
15 | 16 | /** |
16 | 17 | * @param ImageManager $imageManager |
18 | + * @return void |
|
17 | 19 | */ |
18 | 20 | public function setImageManager(ImageManager $imageManager); |
19 | 21 | |
20 | 22 | /** |
21 | 23 | * @param float $scale |
24 | + * @return void |
|
22 | 25 | */ |
23 | 26 | public function setScale($scale); |
24 | 27 | |
25 | 28 | /** |
26 | 29 | * @param string $colour |
30 | + * @return void |
|
27 | 31 | */ |
28 | 32 | public function setTracerColour($colour); |
29 | 33 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * @param ParserInterface $parser |
24 | 24 | * |
25 | - * @return ParserInterface |
|
25 | + * @return FixedTextRenderer |
|
26 | 26 | */ |
27 | 27 | protected function instantiateRenderer(ParserInterface $parser) |
28 | 28 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @param string $filePath |
60 | 60 | * |
61 | - * @return Intervention\Image\Image |
|
61 | + * @return \Intervention\Image\Image |
|
62 | 62 | */ |
63 | 63 | public function renderFile($filePath) |
64 | 64 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * |
73 | 73 | * @param string $string |
74 | 74 | * |
75 | - * @return Intervention\Image\Image |
|
75 | + * @return \Intervention\Image\Image |
|
76 | 76 | */ |
77 | 77 | public function renderString($string) |
78 | 78 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * @param SimpleXMLElement $xml |
86 | 86 | * |
87 | - * @return Intervention\Image\Image |
|
87 | + * @return \Intervention\Image\Image |
|
88 | 88 | */ |
89 | 89 | protected function render(SimpleXMLElement $xml) |
90 | 90 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | class BarcodeBuilder extends FixedTextBuilder |
11 | 11 | { |
12 | 12 | /** |
13 | - * @return BarcodeRenderer |
|
13 | + * @return BarcodeParser |
|
14 | 14 | */ |
15 | 15 | protected function instantiateParser() |
16 | 16 | { |
@@ -11,47 +11,55 @@ |
||
11 | 11 | /** |
12 | 12 | * Return a fully configured Renderer |
13 | 13 | * |
14 | - * @return RendererInterface |
|
14 | + * @return \Graze\CiffRenderer\Field\Renderer\RendererInterface |
|
15 | 15 | */ |
16 | 16 | public function build(); |
17 | 17 | |
18 | 18 | /** |
19 | 19 | * @param ParserManager $parserManager |
20 | + * @return void |
|
20 | 21 | */ |
21 | 22 | public function setParserManager(ParserManager $parserManager); |
22 | 23 | |
23 | 24 | /** |
24 | 25 | * @param SimpleXMLElement $xmlField |
26 | + * @return void |
|
25 | 27 | */ |
26 | 28 | public function setXmlField(SimpleXMLElement $xmlField); |
27 | 29 | |
28 | 30 | /** |
29 | 31 | * @param ImageManager $imageManager |
32 | + * @return void |
|
30 | 33 | */ |
31 | 34 | public function setImageManager(ImageManager $imageManager); |
32 | 35 | |
33 | 36 | /** |
34 | 37 | * @param float $scale |
38 | + * @return void |
|
35 | 39 | */ |
36 | 40 | public function setScale($scale); |
37 | 41 | |
38 | 42 | /** |
39 | 43 | * @param string $tracerColour |
44 | + * @return void |
|
40 | 45 | */ |
41 | 46 | public function setTracerColour($tracerColour); |
42 | 47 | |
43 | 48 | /** |
44 | 49 | * @param SimpleXMLElement $xmlHeader |
50 | + * @return void |
|
45 | 51 | */ |
46 | 52 | public function setXmlHeader(SimpleXMLElement $xmlHeader); |
47 | 53 | |
48 | 54 | /** |
49 | 55 | * @param callable $fontResolver |
56 | + * @return void |
|
50 | 57 | */ |
51 | 58 | public function setFontResolver(callable $fontResolver); |
52 | 59 | |
53 | 60 | /** |
54 | 61 | * @param callable $graphicResolver |
62 | + * @return void |
|
55 | 63 | */ |
56 | 64 | public function setGraphicResolver(callable $graphicResolver); |
57 | 65 | } |