|
@@ -24,7 +24,7 @@ discard block |
|
|
block discarded – undo |
|
24
|
24
|
*/ |
|
25
|
25
|
public function __construct() |
|
26
|
26
|
{ |
|
27
|
|
- view()->share(['sharingMode' => $this->sharingMode]); |
|
|
27
|
+ view()->share([ 'sharingMode' => $this->sharingMode ]); |
|
28
|
28
|
} |
|
29
|
29
|
|
|
30
|
30
|
public function getEncouragementText($total_prs) |
|
@@ -33,7 +33,7 @@ discard block |
|
|
block discarded – undo |
|
33
|
33
|
$encouragement_message = "Congrats, you're done!"; |
|
34
|
34
|
elseif ($total_prs == 1) |
|
35
|
35
|
$encouragement_message = "A good start, just keep doing."; |
|
36
|
|
- elseif ((int) (config('settings.required_prs') / $total_prs) == 2 ) |
|
|
36
|
+ elseif ((int) (config('settings.required_prs') / $total_prs) == 2) |
|
37
|
37
|
$encouragement_message = "Almost halfway there, keep doing."; |
|
38
|
38
|
elseif ((config('settings.required_prs') / $total_prs) == 2) |
|
39
|
39
|
$encouragement_message = "You're halfway there, keep doing!"; |
Please login to merge, or discard this patch.