Passed
Push — master ( 9c82b2...472045 )
by Prateek
07:54 queued 04:44
created

getFileExtention()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
  /**
3
     * Helper Functions for Lagaren
4
     * Autoloads via LaragenServiceProvider
5
     */
6
7
if (!function_exists('getFileExtention')) {
8
9
    function getFileExtention($column)
10
    {
11
        $extension = pathinfo($column, PATHINFO_EXTENSION).'.png';
12
        return $extension;
13
    }
14
}