mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-06 17:24:26 +02:00
Fix PHPStan errors in phpnut addon
This commit is contained in:
parent
512ad63dbf
commit
bbce8c345f
1 changed files with 2 additions and 2 deletions
|
@ -1025,7 +1025,7 @@ class phpnut
|
||||||
* see: https://docs.pnut.io/resources/posts/search
|
* see: https://docs.pnut.io/resources/posts/search
|
||||||
* @param string $query The search query. Supports
|
* @param string $query The search query. Supports
|
||||||
* normal search terms. Searches post text.
|
* normal search terms. Searches post text.
|
||||||
* @return array An array of associative arrays, each representing one post.
|
* @return string|array|false An array of associative arrays, each representing one post.
|
||||||
* or false on error
|
* or false on error
|
||||||
*/
|
*/
|
||||||
public function searchPosts(array $params=[], string $query='', string $order='default')
|
public function searchPosts(array $params=[], string $query='', string $order='default')
|
||||||
|
@ -1769,7 +1769,7 @@ class phpnut
|
||||||
* see: https://docs.pnut.io/resources/messages/search
|
* see: https://docs.pnut.io/resources/messages/search
|
||||||
* @param string $query The search query. Supports
|
* @param string $query The search query. Supports
|
||||||
* normal search terms. Searches common channel raw.
|
* normal search terms. Searches common channel raw.
|
||||||
* @return array An array of associative arrays, each representing one channel.
|
* @return string|array|false An array of associative arrays, each representing one channel.
|
||||||
* or false on error
|
* or false on error
|
||||||
*/
|
*/
|
||||||
public function searchMessages(array $params=[], string $query='', string $order='default')
|
public function searchMessages(array $params=[], string $query='', string $order='default')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue