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 ...@@ -72,7 +72,7 @@ class AccessData
* *
* @static * @static
* *
* @param array $journal JSON journal * @param mixed $journal JSON journal
* *
* @return AccessData instance of this class * @return AccessData instance of this class
*/ */
......
...@@ -46,7 +46,7 @@ class Article ...@@ -46,7 +46,7 @@ class Article
* *
* @access public * @access public
* *
* @param array $article JSON article * @param mixed $article JSON article
*/ */
public function __construct($article) public function __construct($article)
{ {
......
...@@ -254,7 +254,7 @@ class Journal ...@@ -254,7 +254,7 @@ class Journal
* *
* @access public * @access public
* *
* @param array $journal The journal JSON * @param mixed $journal The journal JSON
* *
* @return void * @return void
*/ */
......
...@@ -66,7 +66,7 @@ class License ...@@ -66,7 +66,7 @@ class License
* *
* @access public * @access public
* *
* @param array $license The JSON array containing license information * @param mixed $license The JSON array containing license information
* *
* @return void * @return void
*/ */
......
...@@ -67,7 +67,7 @@ class Price ...@@ -67,7 +67,7 @@ class Price
* *
* @static * @static
* *
* @param array $apcMax JSON average publication cost * @param mixed $apcMax JSON average publication cost
* *
* @return Price instance of this class * @return Price instance of this class
*/ */
......
...@@ -83,7 +83,7 @@ class Score ...@@ -83,7 +83,7 @@ class Score
/** /**
* Constructs score instance * Constructs score instance
* *
* @param array $score the score JSON array * @param mixed $score the score JSON array
* *
* @return void * @return void
*/ */
......
...@@ -64,7 +64,7 @@ class Subject ...@@ -64,7 +64,7 @@ class Subject
* *
* @static * @static
* *
* @param array $subject JSON array * @param mixed $subject JSON array
* *
* @return Subject instance of this class * @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