class EnsureNoPunctuation (View source)

Methods

string
__invoke(string $string)

Ensures the given string does not end with punctuation.

Details

string __invoke(string $string)

Ensures the given string does not end with punctuation.

Parameters

string $string

Return Value

string