CloneSet1431


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2310.965if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12111
administrator/components/com_installer/models/discover.php
22177
administrator/components/com_installer/models/languages.php
32217
libraries/joomla/utilities/arrayhelper.php
Clone Instance
1
Line Count
2
Source Line
111
Source File
administrator/components/com_installer/models/discover.php

                        if (!is_array($eid)) {
                                $eid=  array($eid);
                              }


Clone Instance
2
Line Count
2
Source Line
177
Source File
administrator/components/com_installer/models/languages.php

                /*
                 * Ensure eid is an array of extension ids
                 * TODO: If it isn't an array do we want to set an error and fail?
                 */
                if (!is_array($eid)) {
                        $eid=  array( $eid);
                      }


Clone Instance
3
Line Count
2
Source Line
217
Source File
libraries/joomla/utilities/arrayhelper.php

                                if (!is_array($result)) {
                                        $result=  array( $result);
                                      }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
                 * Ensure eid is an array of extension ids
                 * TODO: If it isn't an array do we want to set an error and fail?
                 */
if (!is_array( [[#variable586e4860]])) {
   [[#variable586e4860]]=array( [[#variable586e4860]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#586e4860]]
$eid 
12[[#586e4860]]
$result 
13[[#586e4860]]
$eid