Passed
Push — hotfix/fix-counts ( 428f33...c27bc0 )
by Paul
04:52
created
plugin/Reviews.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,8 @@
 block discarded – undo
53 53
 	 * @param mixed $key
54 54
 	 * @return mixed
55 55
 	 */
56
-	public function offsetGet( $key ) {
56
+	public function offsetGet( $key )
57
+	{
57 58
 		if( property_exists( $this, $key )) {
58 59
 			return $this->{$key};
59 60
 		}
Please login to merge, or discard this patch.
plugin/Modules/Html/ReviewHtml.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,9 @@  discard block
 block discarded – undo
30 30
 	 */
31 31
 	public function __toString()
32 32
 	{
33
-		if( empty( $this->values ))return;
33
+		if( empty( $this->values )) {
34
+			return;
35
+		}
34 36
 		return glsr( Template::class )->build( 'templates/review', [
35 37
 			'context' => $this->values,
36 38
 			'review' => $this->review,
@@ -41,7 +43,8 @@  discard block
 block discarded – undo
41 43
 	 * @param mixed $key
42 44
 	 * @return mixed
43 45
 	 */
44
-	public function offsetGet( $key ) {
46
+	public function offsetGet( $key )
47
+	{
45 48
 		if( property_exists( $this, $key )) {
46 49
 			return $this->{$key};
47 50
 		}
Please login to merge, or discard this patch.