@@ -92,6 +92,9 @@ |
||
| 92 | 92 | return $this->shortcutBuild('rotate', [floatval($angle), $cx, $cy]); |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | + /** |
|
| 96 | + * @param string $transform |
|
| 97 | + */ |
|
| 95 | 98 | private function shortcutBuild($transform, $data) |
| 96 | 99 | { |
| 97 | 100 | $this->sequence[] = $transform; |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * @return Transform |
| 39 | 39 | */ |
| 40 | 40 | public static function newInstance($transformString = null, TransformMatcherInterface $matcher = null, |
| 41 | - PackerInterface $packer = null) |
|
| 41 | + PackerInterface $packer = null) |
|
| 42 | 42 | { |
| 43 | 43 | $instance = new Transform(); |
| 44 | 44 | $matcherImpl = $matcher === null ? new TransformMatcher() : $matcher; |