Completed
Push — master ( 28bcc4...de2ae0 )
by Thomas
01:22
created
code/MailgunAdmin.php 2 patches
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
      * Useful for retrieving values as set by user
400 400
      *
401 401
      * @param string $name
402
-     * @param mixed $default
402
+     * @param integer $default
403 403
      * @return mixed
404 404
      */
405 405
     public function getParam($name, $default = null)
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
     /**
616 616
      * A template accessor to check the ADMIN permission
617 617
      *
618
-     * @return bool
618
+     * @return boolean|string
619 619
      */
620 620
     public function IsAdmin()
621 621
     {
@@ -625,7 +625,7 @@  discard block
 block discarded – undo
625 625
     /**
626 626
      * Check the permission for current user
627 627
      *
628
-     * @return bool
628
+     * @return boolean|string
629 629
      */
630 630
     public function canView($member = null)
631 631
     {
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
     /**
654 654
      * Check if webhook is installed
655 655
      *
656
-     * @return array
656
+     * @return boolean
657 657
      */
658 658
     public function WebhookInstalled()
659 659
     {
@@ -690,7 +690,7 @@  discard block
 block discarded – undo
690 690
 
691 691
     /**
692 692
      * Hook details for template
693
-     * @return \ArrayData
693
+     * @return ArrayData|null
694 694
      */
695 695
     public function WebhookDetails()
696 696
     {
@@ -837,7 +837,7 @@  discard block
 block discarded – undo
837 837
     /**
838 838
      * Check if sending domain is installed
839 839
      *
840
-     * @return array
840
+     * @return boolean
841 841
      */
842 842
     public function SendingDomainInstalled()
843 843
     {
@@ -997,7 +997,7 @@  discard block
 block discarded – undo
997 997
     /**
998 998
      * Get domain name from current host
999 999
      *
1000
-     * @return boolean|string
1000
+     * @return false|string
1001 1001
      */
1002 1002
     public function getDomainFromHost()
1003 1003
     {
@@ -1018,7 +1018,7 @@  discard block
 block discarded – undo
1018 1018
     /**
1019 1019
      * Get domain from admin email
1020 1020
      *
1021
-     * @return boolean|string
1021
+     * @return string|false
1022 1022
      */
1023 1023
     public function getDomainFromEmail()
1024 1024
     {
@@ -1033,7 +1033,7 @@  discard block
 block discarded – undo
1033 1033
     /**
1034 1034
      * Get domain
1035 1035
      *
1036
-     * @return boolean|string
1036
+     * @return false|string
1037 1037
      */
1038 1038
     public function getDomain()
1039 1039
     {
@@ -1047,7 +1047,7 @@  discard block
 block discarded – undo
1047 1047
     /**
1048 1048
      * Install domain form
1049 1049
      *
1050
-     * @param CompositeField $fieldsd
1050
+     * @param CompositeField $fields
1051 1051
      * @return FormField
1052 1052
      */
1053 1053
     public function InstallDomainForm(CompositeField $fields)
@@ -1091,7 +1091,7 @@  discard block
 block discarded – undo
1091 1091
     /**
1092 1092
      * Uninstall domain form
1093 1093
      *
1094
-     * @param CompositeField $fieldsd
1094
+     * @param CompositeField $fields
1095 1095
      * @return FormField
1096 1096
      */
1097 1097
     public function UninstallDomainForm(CompositeField $fields)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use SilverStripe\Forms\CompositeField;
31 31
 use SilverStripe\SiteConfig\SiteConfig;
32 32
 use Mailgun\Model\Webhook\IndexResponse as WebhookIndexResponse;
33
-use SilverStripe\Core\Injector\Injector;
34 33
 use LeKoala\Mailgun\MailgunSwiftTransport;
35 34
 use SilverStripe\Control\Email\SwiftMailer;
36 35
 use SilverStripe\Forms\GridField\GridField;
Please login to merge, or discard this patch.
code/MailgunController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use SilverStripe\Control\Controller;
10 10
 use SilverStripe\Control\HTTPRequest;
11 11
 use SilverStripe\Security\Permission;
12
-use SilverStripe\Core\Injector\Injector;
13 12
 
14 13
 /**
15 14
  * Provide extensions points for handling the webhook
Please login to merge, or discard this patch.
code/MailgunSwiftTransport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@
 block discarded – undo
230 230
     }
231 231
 
232 232
     /**
233
-     * @return array
233
+     * @return string[]
234 234
      */
235 235
     protected function getSupportedContentTypes()
236 236
     {
Please login to merge, or discard this patch.