Skip to content
Snippets Groups Projects
Commit 4a1c5130 authored by Beatrycze Volk's avatar Beatrycze Volk
Browse files

Change parameter type from array to mixed

Function json_decode returns actually mixed instead of array
parent 07beba4f
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ class AccessData
*
* @static
*
* @param array $journal JSON journal
* @param mixed $journal JSON journal
*
* @return AccessData instance of this class
*/
......
......@@ -46,7 +46,7 @@ class Article
*
* @access public
*
* @param array $article JSON article
* @param mixed $article JSON article
*/
public function __construct($article)
{
......
......@@ -254,7 +254,7 @@ class Journal
*
* @access public
*
* @param array $journal The journal JSON
* @param mixed $journal The journal JSON
*
* @return void
*/
......
......@@ -66,7 +66,7 @@ class License
*
* @access public
*
* @param array $license The JSON array containing license information
* @param mixed $license The JSON array containing license information
*
* @return void
*/
......
......@@ -67,7 +67,7 @@ class Price
*
* @static
*
* @param array $apcMax JSON average publication cost
* @param mixed $apcMax JSON average publication cost
*
* @return Price instance of this class
*/
......
......@@ -83,7 +83,7 @@ class Score
/**
* Constructs score instance
*
* @param array $score the score JSON array
* @param mixed $score the score JSON array
*
* @return void
*/
......
......@@ -64,7 +64,7 @@ class Subject
*
* @static
*
* @param array $subject JSON array
* @param mixed $subject JSON array
*
* @return Subject instance of this class
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment