Passed
Pull Request — develop (#37)
by
unknown
24:48 queued 09:08
created
src/YoutubeLiveEmbed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         Event::on(
70 70
             CraftVariable::class,
71 71
             CraftVariable::EVENT_INIT,
72
-            function (Event $event) {
72
+            function(Event $event) {
73 73
                 /** @var CraftVariable $variable */
74 74
                 $variable = $event->sender;
75 75
                 $variable->set('youtubelive', YoutubeLiveEmbedVariable::class);
Please login to merge, or discard this patch.
src/helpers/PluginTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
         // Render the template with our vars passed in
63 63
         try {
64
-            $htmlText = Craft::$app->view->renderTemplate('youtubeliveembed/' . $templatePath, $params);
64
+            $htmlText = Craft::$app->view->renderTemplate('youtubeliveembed/'.$templatePath, $params);
65 65
             $templateRendered = true;
66 66
         } catch (\Exception $e) {
67 67
             $htmlText = Craft::t(
Please login to merge, or discard this patch.