JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "EnsurePunctuation.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/laravel/framework/src/Illuminate/Console/View/Components/Mutators/EnsurePunctuation.php
File size: 449 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Illuminate\Console\View\Components\Mutators;

use Illuminate\Support\Stringable;

class EnsurePunctuation
{
    /**
     * Ensures the given string ends with punctuation.
     *
     * @param  string  $string
     * @return string
     */
    public function __invoke($string)
    {
        if (! (new Stringable($string))->endsWith(['.', '?', '!', ':'])) {
            return "$string.";
        }

        return $string;
    }
}