Skip to content

Commit 0f4bb75

Browse files
author
Christoph Rumpel
committed
Remove string hinting
1 parent 4b090c6 commit 0f4bb75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/TwitterDirectMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TwitterDirectMessage
2020
/*
2121
* @param string $content
2222
*/
23-
public function __construct(string $to, string $content)
23+
public function __construct($to, string $content)
2424
{
2525
$this->to = $to;
2626
$this->content = $content;

src/TwitterStatusUpdate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TwitterStatusUpdate
2525
/*
2626
* @param string $content
2727
*/
28-
public function __construct(string $content, array $imagePaths = null)
28+
public function __construct($content, array $imagePaths = null)
2929
{
3030
$this->content = $content;
3131
$this->imagePaths = $imagePaths ? collect($imagePaths) : null;

0 commit comments

Comments
 (0)