Skip to content

Commit 0799471

Browse files
Using callable type hint
1 parent 8459566 commit 0799471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Twilio.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private function getTwilio()
115115
*
116116
* @return string
117117
*/
118-
private function twiml($callback)
118+
private function twiml(callable $callback)
119119
{
120120
$message = new Services_Twilio_Twiml();
121121

0 commit comments

Comments
 (0)